Bontiv-Sourceer source code viewer
Root | Help
./web-crawler/src/tplcp/Makefile
all: test

.SUFFIXES: .h .c .o
.PHONY: all clean

SOURCE = $(wildcard *.c)
OBJS = $(SOURCE:.c=.o)
GCC = gcc
LIBS =
include .depends

test: $(OBJS)
$(GCC) -o ../../bin/compile $(LIBS) $^

.depends: $(SOURCE)
$(GCC) -MM -MP $^ > .depends

clean:
-rm -f *.o .depends *~ \#* test

.c.o:
$(GCC) -c $< -o $@
Presented with Bontiv-Sourceer