../csprogs.dat: client/progs.inc $(QCCVERSIONFILE)
@echo make[1]: Entering directory \`$(PWD)/client\'
- ./qcc.sh client $@ $<
+ sh ./qcc.sh client $@ $<
-include tmp/client.d
../progs.dat: server/progs.inc $(QCCVERSIONFILE)
@echo make[1]: Entering directory \`$(PWD)/server\'
- ./qcc.sh server $@ $<
+ sh ./qcc.sh server $@ $<
-include tmp/server.d
../menu.dat: menu/progs.inc $(QCCVERSIONFILE)
@echo make[1]: Entering directory \`$(PWD)/menu\'
- ./qcc.sh menu $@ $<
+ sh ./qcc.sh menu $@ $<
-include tmp/menu.d
.PHONY: testcase
CPP="${CPP} -I. ${QCCIDENT} ${QCCDEFS} -D${PROG}"
set -x
-${CPP} -CC -MMD -MP -MT ${OUT} -Wall -Wundef -Werror -o tmp/${MODE}.qc ${IN}
-${CPP} -dM 1>tmp/${MODE}_macros.txt -H 2>tmp/${MODE}_includes.txt ${IN}
-sed -i 's/^#\(line\)\? \([[:digit:]]\+\) "\(.*\)".*/\n#pragma file(\3)\n#pragma line(\2)/g' tmp/${MODE}.qc
+${CPP} -CC -MMD -MP -MT ${OUT} -Wall -Wundef -Werror -o ./tmp/${MODE}.qc ${IN}
+${CPP} -dM 1>./tmp/${MODE}_macros.txt -H 2>./tmp/${MODE}_includes.txt ${IN}
+sed -i 's/^#\(line\)\? \([[:digit:]]\+\) "\(.*\)".*/\n#pragma file(\3)\n#pragma line(\2)/g' ./tmp/${MODE}.qc
cd ${MODE}
${QCC} ${QCCFLAGS} -o ../${OUT} ../tmp/${MODE}.qc