From 9dd61514041d5d92ec874107168246626e120c06 Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 9 Mar 2016 18:31:07 +1100 Subject: [PATCH] Fix autobuilds --- qcsrc/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/qcsrc/Makefile b/qcsrc/Makefile index 2bca4b9cd..9e94fb2e5 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -52,8 +52,11 @@ pk3: qc zip -9 ${PK3} ${TXT} ${DAT} ${LNO} @ rm ${TXT} ${DAT} ${LNO} +dirtree: + @mkdir -p ../.tmp + .PHONY: clean -clean: +clean: | dirtree rm -f $(PROGS_OUT)/csprogs.dat rm -f $(PROGS_OUT)/progs.dat rm -f $(PROGS_OUT)/menu.dat @@ -70,17 +73,17 @@ export CPP export QCCDEFS export QCCFLAGS -$(PROGS_OUT)/csprogs.dat: client/progs.inc $(QCCVERSIONFILE) +$(PROGS_OUT)/csprogs.dat: client/progs.inc $(QCCVERSIONFILE) | dirtree @echo make[1]: Entering directory \`$(PWD)/client\' sh ./qcc.sh client $@ $< -include ../.tmp/client.d -$(PROGS_OUT)/progs.dat: server/progs.inc $(QCCVERSIONFILE) +$(PROGS_OUT)/progs.dat: server/progs.inc $(QCCVERSIONFILE) | dirtree @echo make[1]: Entering directory \`$(PWD)/server\' sh ./qcc.sh server $@ $< -include ../.tmp/server.d -$(PROGS_OUT)/menu.dat: menu/progs.inc $(QCCVERSIONFILE) +$(PROGS_OUT)/menu.dat: menu/progs.inc $(QCCVERSIONFILE) | dirtree @echo make[1]: Entering directory \`$(PWD)/menu\' sh ./qcc.sh menu $@ $< -include ../.tmp/menu.d -- 2.39.2