summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-12-13 14:27:45 -0600
committerdannye <33dannye@gmail.com>2020-12-13 14:28:35 -0600
commitb10768d7539d01df09cdbd2ec66a82406c382e7c (patch)
treed1d31b0733bd2d8bc6887a0101e10b88f6322d64 /tools/Makefile
parentd8f98d97bcd41f710d51925470dc799a6051f022 (diff)
Use rgbgfx instead of gfx.py
and use pokered's Makefile structure
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..c235fee
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,16 @@
+.PHONY: all clean
+
+CC := gcc
+CFLAGS := -O3 -std=c99 -Wall -Wextra -pedantic
+
+tools := scan_includes gfx
+
+all: $(tools)
+ @:
+
+clean:
+ rm -f $(tools)
+
+gfx: common.h
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $<