summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-01-08 22:07:02 +0000
committerJuan J. Martinez <jjm@usebox.net>2021-01-08 22:49:50 +0000
commit3b31adf01305e522f7e28c1435fb47418ce43267 (patch)
tree853513c7951c79e7282ac1d7f29538ed4e0dcfea /Makefile
parentfbc85dfadf0060ed2b5eb900cd2529dccde49e1c (diff)
downloadubox-msx-lib-3b31adf01305e522f7e28c1435fb47418ce43267.tar.gz
ubox-msx-lib-3b31adf01305e522f7e28c1435fb47418ce43267.zip
Include bin in the path, moved target to game
Don't use relative path to tools in bin. The idea is that the user should be able to use their versions instead.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cb44302..9f84961 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
all: libs
-libs: lib ubox spman mplayer
+export PATH := $(shell realpath ./bin):$(PATH)
-game: bin libs bin/game.rom
+libs: lib ubox spman mplayer
-bin/game.rom:
+game: bin libs
make -C tools
make -C game
@@ -20,9 +20,8 @@ spman:
mplayer:
make -C src/mplayer
-.PHONY: clean cleanall docs ubox libs bin/game.rom
+.PHONY: clean cleanall docs libs game
clean:
- rm -f ./bin/game.rom
make -C src/ubox clean
make -C src/spman clean
make -C src/mplayer clean