aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2018-03-10 18:36:19 -0600
committerGitHub <noreply@github.com>2018-03-10 18:36:19 -0600
commit42cfe3d36192aca4d0c4ca222be0088c03236e0d (patch)
treedd050c795930a34af6ea020c00f52dc7116ee49a /tools/Makefile
parentMerge pull request #171 from xCrystal/master (diff)
parentforgot to uncomment clean tools (diff)
downloadpokeyellow-42cfe3d36192aca4d0c4ca222be0088c03236e0d.tar.gz
pokeyellow-42cfe3d36192aca4d0c4ca222be0088c03236e0d.tar.xz
pokeyellow-42cfe3d36192aca4d0c4ca222be0088c03236e0d.zip
Merge pull request #177 from yenatch/rgbgfx
Use rgbgfx and c tools instead of the submodule.
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 00000000..13bab1fb
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,16 @@
+.PHONY: all clean
+
+CC := gcc
+CFLAGS := -O3 -std=c99 -Wall -Wextra
+
+tools := scan_includes gfx pkmncompress
+
+all: $(tools)
+ @:
+
+clean:
+ rm -f $(tools)
+
+gfx: common.h
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $<