aboutgitcodelistschat:MatrixIRC
path: root/demo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demo/Makefile')
-rw-r--r--demo/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/demo/Makefile b/demo/Makefile
new file mode 100644
index 0000000..6b8558f
--- /dev/null
+++ b/demo/Makefile
@@ -0,0 +1,9 @@
+SRCS=$(wildcard *.c)
+
+all: $(SRCS:%.c=%)
+
+clean:
+ $(RM) $(SRCS:%.c=%)
+
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $< \ No newline at end of file