summaryrefslogtreecommitdiff
path: root/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 /Makefile
downloadubox-msx-lib-1.0.tar.gz
ubox-msx-lib-1.0.zip
Initial import1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0fabf88
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,35 @@
+all: libs
+
+libs: ubox spman mplayer
+
+game: libs bin/game.rom
+
+bin/game.rom:
+ mkdir -p ./bin
+ make -C tools
+ make -C game
+
+docs:
+ make -C docs
+
+ubox:
+ mkdir -p lib
+ make -C src/ubox
+
+spman:
+ mkdir -p lib
+ make -C src/spman
+
+mplayer:
+ mkdir -p lib
+ make -C src/mplayer
+
+.PHONY: clean docs ubox libs bin/game.rom
+clean:
+ rm -rf ./bin
+ make -C src/ubox clean
+ make -C src/spman clean
+ make -C src/mplayer clean
+ make -C docs clean
+ make -C game clean
+