diff options
Diffstat (limited to 'algorithms/list.make')
-rw-r--r-- | algorithms/list.make | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/algorithms/list.make b/algorithms/list.make new file mode 100644 index 0000000..4d6e6f3 --- /dev/null +++ b/algorithms/list.make @@ -0,0 +1,25 @@ +CFLAGS += -Wall + +.PHONY: all depend clean check install + +SRCS = list_test.c list.c +OBJS = list_test.o list.o + +all: list_test + +list_test: $(OBJS) + $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ + +depend: + makedepend -s "# makedepend depends on me"\ + -- $(CFLAGS) -- $(SRCS) + +clean: + rm -f $(OBJS) list_test + +check: + @echo "No checks defined, sorry" + +install: + @echo "Nothing to install yet" + |