From eff7f52c368df5dc662d54956de5aa3b2b9ee936 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 26 Aug 2024 18:34:24 +0300 Subject: simplify tests --- tests/scripts/gen-prog | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/scripts/gen-prog') 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 -- cgit v1.3