From cf3a29feb5887344b6633ead1b4b6d5657a15a4b Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 15 Jun 2014 03:24:33 +0200 Subject: old stuff: algorithms --- algorithms/list.make | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 algorithms/list.make (limited to 'algorithms/list.make') 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" + -- cgit v1.2.3