summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-03-22 18:37:40 -0400
committerentrpntr <entrpntr@gmail.com>2020-03-22 18:37:40 -0400
commitdb8db97aa341f52174a14d415ca680656f0bcf64 (patch)
treece6b343e20e393e929ea0d8509e69b7c04ae83dd /tools/Makefile
parent15890237493f06d266a3197357d42edf883355e2 (diff)
Clean up makefile, submodules, root dir; Python 3 compatibility.
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 00000000..0e3aa0f3
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,18 @@
+.PHONY: all clean
+
+CC := gcc
+CFLAGS := -O3 -std=c99 -Wall -Wextra -Wno-missing-field-initializers
+
+tools := \
+ scan_includes \
+ gfx
+all: $(tools)
+ @:
+
+clean:
+ rm -f $(tools)
+
+gfx: common.h
+
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $<