diff options
author | Patrick Simianer <p@simianer.de> | 2014-06-15 03:24:33 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-06-15 03:24:33 +0200 |
commit | cf3a29feb5887344b6633ead1b4b6d5657a15a4b (patch) | |
tree | f1149508f7305a48dba0226699dfafdd68d81969 /algorithms/list.make | |
parent | 5ddc763ab9953eebdaf78af4eb72288d7955b310 (diff) |
old stuff: algorithms
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" + |