summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <jaylink-dev@marcschink.de>2015-12-05 22:00:37 +0100
committerMarc Schink <jaylink-dev@marcschink.de>2015-12-05 22:07:05 +0100
commit8d7e2d93de87d2c7124d57341fa5bbc6fe65cd78 (patch)
tree421e3f2aeec683c3b2a08357872f00fbdbc78d1d
parentcad8e23d4ddbfedf44483e48bbb282961e5571f5 (diff)
Add Makefile
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5195dc8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+CC = gcc
+
+SRCS = $(wildcard *.c)
+TARGETS = $(SRCS:%.c=%)
+
+all: $(TARGETS)
+
+%: %.c
+ $(CC) $< -Wall -g `pkg-config --cflags --libs libjaylink` -o $@
+
+clean:
+ rm -f $(TARGETS)