summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..e5df0a9
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,18 @@
+.PHONY: all clean
+
+CC := gcc
+CFLAGS := -std=c99 -Wall -Wextra
+
+tools := \
+ gfx \
+ pcm \
+ scan_includes
+
+all: $(tools)
+ @:
+
+clean:
+ rm -f $(tools)
+
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $<