diff options
author | Pedro de Medeiros <pedro.medeiros@gmail.com> | 2021-09-21 15:14:24 +0000 |
---|---|---|
committer | Juan J. MartÃnez <jjm@usebox.net> | 2021-09-21 15:14:24 +0000 |
commit | 1997ccb1eab50c4f401ff49bc306a8d9f7267328 (patch) | |
tree | 8c57f5c77c6973707d5b23dbc850049647d83ec7 | |
parent | 65cb5c99ceda078b03e44740613a89963c3fb088 (diff) | |
download | ubox-msx-lib-1997ccb1eab50c4f401ff49bc306a8d9f7267328.tar.gz ubox-msx-lib-1997ccb1eab50c4f401ff49bc306a8d9f7267328.zip |
Avoiding improper makefile invocations
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | game/Makefile | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -6,7 +6,7 @@ libs: lib ubox spman mplayer ap game: bin libs make -C tools - make -C game + make -C game all docs: make -C docs diff --git a/game/Makefile b/game/Makefile index df14313..6c3d855 100644 --- a/game/Makefile +++ b/game/Makefile @@ -1,3 +1,6 @@ +default: + $(error Please use the Makefile from root directory) + all: generated bin build make -C data cd src && ../../tools/mkdeps.py -b ../build -I ../generated:../../include ./ Makefile.deps @@ -12,7 +15,7 @@ bin: build: mkdir -p ./build -.PHONY: all clean +.PHONY: all clean default clean: rm -rf ./generated ./bin ./build make -C src clean |