aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-05-27 17:09:25 +0100
committerJuan J. Martinez <jjm@usebox.net>2024-05-27 17:09:25 +0100
commitbc9281a3bb7a85c826d3a49220bc13134478477c (patch)
tree4e10698fe533dd54db85bb38087ae9158b1a531d /tools/Makefile
parent4b56dc74819f7fc85099ffa49e772ce821592708 (diff)
downloadubox-msx-lib-bc9281a3bb7a85c826d3a49220bc13134478477c.tar.gz
ubox-msx-lib-bc9281a3bb7a85c826d3a49220bc13134478477c.zip
Properly create bin directory
bin subdirectory is not properly created before running make -C tools. Co-authored-by: Pedro de Medeiros <pedro.medeiros@gmail.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 328b5a1..5c8bbdb 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -2,17 +2,20 @@ BIN := ../bin/hex2bin ../bin/rasm ../bin/apultra
all: $(BIN)
-../bin/hex2bin:
+../bin/hex2bin: ../bin
mkdir -p hex2bin-2.0/bin
make -C hex2bin-2.0
make -C hex2bin-2.0 cleanall
-../bin/rasm:
+../bin/rasm: ../bin
make -C rasm
-../bin/apultra:
+../bin/apultra: ../bin
make -C apultra
+../bin:
+ mkdir -p ../bin
+
.PHONY: all clean
clean:
make -C hex2bin-2.0 cleanall