aboutsummaryrefslogtreecommitdiff
path: root/tests/scripts/gen-prog
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/gen-prog')
-rwxr-xr-xtests/scripts/gen-prog4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/scripts/gen-prog b/tests/scripts/gen-prog
index e56ecc3..6e99f37 100755
--- a/tests/scripts/gen-prog
+++ b/tests/scripts/gen-prog
@@ -23,12 +23,10 @@ do
echo "${NAME}_OBJS += ${obj}" >> tests.mk
echo "${dep}:" >> tests.mk
echo "-include ${dep}" >> tests.mk
- echo "${obj}: $NAME/${s}" >> tests.mk
+ echo "${obj}: $NAME/${s} \$(COMMON)" >> tests.mk
echo " \$(COMPILE_TEST) -c $NAME/${s} -o ${obj}" >> tests.mk
done
echo "build/${NAME}/$PROG: \$(${NAME}_OBJS) \$(COMMON)" >> tests.mk
echo " \$(COMPILE_TEST) \$(${NAME}_OBJS) \$(COMMON) \
-o build/${NAME}/$PROG" >> tests.mk
-
-echo "include ${NAME}/check.mk" >> tests.mk