From 1997ccb1eab50c4f401ff49bc306a8d9f7267328 Mon Sep 17 00:00:00 2001 From: Pedro de Medeiros Date: Tue, 21 Sep 2021 15:14:24 +0000 Subject: Avoiding improper makefile invocations --- game/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'game') 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 -- cgit v1.2.3