From 7077378e9b4233e416a32b13d5b3a9c7cb2546f7 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Fri, 4 Aug 2023 20:00:11 -0700 Subject: [PATCH] improve make clobber for 1990/theorem --- 1990/theorem/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/1990/theorem/Makefile b/1990/theorem/Makefile index a0eaca18c..af1f675e0 100644 --- a/1990/theorem/Makefile +++ b/1990/theorem/Makefile @@ -152,6 +152,7 @@ theorem_bkp: sorter theorem_bkp.c ${CC} ${CFLAGS} theorem_bkp.c -o $@ theorem_bkp.c: + ${RM} -f $@ -./sorter -r 0 0 0 0 < sorter.c > theorem_bkp.c # alternative executable @@ -185,6 +186,7 @@ clobber: clean ${RM} -f ${TARGET} ${ALT_TARGET} ${RM} -f sorter.c sorter ${RM} -f fibonacci.c fibonacci + ${RM} -f theorem_bkp.c theorem_bkp @-if [ -e sandwich ]; then \ ${RM} -f sandwich; \ echo 'ate sandwich'; \