Initializing Makefile, 8008135.c
parent
e6c3eb6c88
commit
9da93ed7b3
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<anjuta>
|
||||
<plugin name="Git" mandatory="no">
|
||||
<require group="Anjuta Plugin"
|
||||
attribute="Location"
|
||||
value="anjuta-git:Git"/>
|
||||
</plugin>
|
||||
</anjuta>
|
Binary file not shown.
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0"?>
|
||||
<anjuta>
|
||||
<plugin name="GBF Project Manager"
|
||||
url="http://anjuta.org/plugins/"
|
||||
mandatory="yes">
|
||||
<require group="Anjuta Plugin"
|
||||
attribute="Interfaces"
|
||||
value="IAnjutaProjectManager"/>
|
||||
</plugin>
|
||||
<plugin name="Makefile Project Backend"
|
||||
url="http://anjuta.org/plugins/"
|
||||
mandatory="yes">
|
||||
<require group="Anjuta Plugin"
|
||||
attribute="Interfaces"
|
||||
value="IAnjutaProjectBackend"/>
|
||||
<require group="Project"
|
||||
attribute="Supported-Project-Types"
|
||||
value="make"/>
|
||||
</plugin>
|
||||
<plugin name="Symbol Browser"
|
||||
url="http://anjuta.org/plugins/"
|
||||
mandatory="yes">
|
||||
<require group="Anjuta Plugin"
|
||||
attribute="Interfaces"
|
||||
value="IAnjutaSymbolManager"/>
|
||||
</plugin>
|
||||
<plugin name="Make Build System"
|
||||
url="http://anjuta.org/plugins/"
|
||||
mandatory="yes">
|
||||
<require group="Anjuta Plugin"
|
||||
attribute="Interfaces"
|
||||
value="IAnjutaBuildable"/>
|
||||
<require group="Build"
|
||||
attribute="Supported-Build-Types"
|
||||
value="make"/>
|
||||
</plugin>
|
||||
</anjuta>
|
@ -0,0 +1,26 @@
|
||||
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
|
||||
/*
|
||||
* main.c
|
||||
* Copyright (C) 2019
|
||||
*
|
||||
* 8008135 is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
* Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 8008135 is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
{
|
||||
printf("Hello world\n");
|
||||
return (0);
|
||||
}
|
||||
|
@ -0,0 +1,30 @@
|
||||
|
||||
## Created by Anjuta
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -g -Wall
|
||||
OBJECTS = 8008135.o
|
||||
INCFLAGS =
|
||||
LDFLAGS = -Wl,-rpath,/usr/local/lib
|
||||
LIBS =
|
||||
|
||||
all: 8008135
|
||||
|
||||
8008135: $(OBJECTS)
|
||||
$(CC) -o 8008135 $(OBJECTS) $(LDFLAGS) $(LIBS)
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .cc .C .cpp .o
|
||||
|
||||
.c.o :
|
||||
$(CC) -o $@ -c $(CFLAGS) $< $(INCFLAGS)
|
||||
|
||||
count:
|
||||
wc *.c *.cc *.C *.cpp *.h *.hpp
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: count
|
||||
.PHONY: clean
|
Loading…
Reference in New Issue