You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
400 B
Makefile
31 lines
400 B
Makefile
5 years ago
|
|
||
|
## 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
|