From a64b5690098285dffd3c50e7761ea7d3b0755cac Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 3 Jan 2021 20:59:22 +0000 Subject: More elegant dir management --- game/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'game/Makefile') diff --git a/game/Makefile b/game/Makefile index a98f7cb..df14313 100644 --- a/game/Makefile +++ b/game/Makefile @@ -1,9 +1,17 @@ -all: - mkdir -p ./generated ./bin ./build +all: generated bin build make -C data cd src && ../../tools/mkdeps.py -b ../build -I ../generated:../../include ./ Makefile.deps make -C src +generated: + mkdir -p ./generated + +bin: + mkdir -p ./bin + +build: + mkdir -p ./build + .PHONY: all clean clean: rm -rf ./generated ./bin ./build -- cgit v1.2.3