aboutsummaryrefslogtreecommitdiff
path: root/game/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2020-12-30 19:07:31 +0000
committerJuan J. Martinez <jjm@usebox.net>2020-12-30 19:23:41 +0000
commit2682bc5d1d864341aaeb42a449db73c3ecd16d70 (patch)
tree9116764364b4ee0ce7f6037305077807b57776de /game/Makefile
downloadubox-msx-lib-2682bc5d1d864341aaeb42a449db73c3ecd16d70.tar.gz
ubox-msx-lib-2682bc5d1d864341aaeb42a449db73c3ecd16d70.zip
Initial import1.0
Diffstat (limited to 'game/Makefile')
-rw-r--r--game/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/Makefile b/game/Makefile
new file mode 100644
index 0000000..da7d699
--- /dev/null
+++ b/game/Makefile
@@ -0,0 +1,12 @@
+all:
+ mkdir -p ./generated ./bin ./build
+ make -C data
+ cd src && rm -f Makefile.deps && touch Makefile.deps && find . -name "*.c" | xargs -n1 sdcc -I../generated -I../../include -MM | sed -r 's/([^:]+):/..\/build\/\1:/' >> Makefile.deps
+ make -C src
+
+.PHONY: all clean
+clean:
+ rm -rf ./generated ./bin ./build
+ make -C src clean
+ make -C data clean
+