summaryrefslogtreecommitdiff
path: root/tools/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 /tools/Makefile
downloadubox-msx-lib-1.0.tar.gz
ubox-msx-lib-1.0.zip
Initial import1.0
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..6223252
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,17 @@
+BIN=../bin/hex2bin ../bin/rasm
+
+all: $(BIN)
+
+../bin/hex2bin:
+ mkdir -p hex2bin-2.0/bin
+ make -C hex2bin-2.0
+ cp hex2bin-2.0/bin/hex2bin ../bin
+ make -C hex2bin-2.0 cleanall
+
+../bin/rasm:
+ make -C rasm
+
+.PHONY: all clean
+clean:
+ make -C hex2bin-2.0 cleanall
+ make -C rasm clean