summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-12-20 13:19:59 -0600
committerGitHub <noreply@github.com>2020-12-20 13:19:59 -0600
commite506359b615a6c352c41b4366c8cdafe634a4a05 (patch)
tree9ba304cf8d635d6f6c81c85ce864b0311108b414 /tools/Makefile
parent68f371effcfc31927dc093a68505af85f523d243 (diff)
parentb276b23d4e9ea34d64766ddb92c768b4bc4f1b8f (diff)
Merge pull request #81 from dannye/master
Use rgbgfx instead of gfx.py
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 $@ $<