summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..27cfef0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+CC=gcc -g -Wall
+PROGS=slist list simpleq tailq circleq
+
+all: $(PROGS)
+
+slist: slist.c
+ $(CC) -o $@ $?
+
+list: list.c
+ $(CC) -o $@ $?
+
+simpleq: simpleq.c
+ $(CC) -o $@ $?
+
+tailq: tailq.c
+ $(CC) -o $@ $?
+
+circelq: circleq.c
+ $(CC) -o $@ $?
+
+clean:
+ rm -f $(PROGS) *.core