improve make clobber for 1990/theorem
This commit is contained in:
1 parent
e28f1332b2
commit
7077378e9b
1 file changed
+2
@@ -152,6 +152,7 @@ theorem_bkp: sorter theorem_bkp.c
|
|||||||
${CC} ${CFLAGS} theorem_bkp.c -o $@
|
${CC} ${CFLAGS} theorem_bkp.c -o $@
|
||||||
|
|
||||||
theorem_bkp.c:
|
theorem_bkp.c:
|
||||||
|
${RM} -f $@
|
||||||
-./sorter -r 0 0 0 0 < sorter.c > theorem_bkp.c
|
-./sorter -r 0 0 0 0 < sorter.c > theorem_bkp.c
|
||||||
|
|
||||||
# alternative executable
|
# alternative executable
|
||||||
@@ -185,6 +186,7 @@ clobber: clean
|
|||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
${RM} -f sorter.c sorter
|
${RM} -f sorter.c sorter
|
||||||
${RM} -f fibonacci.c fibonacci
|
${RM} -f fibonacci.c fibonacci
|
||||||
|
${RM} -f theorem_bkp.c theorem_bkp
|
||||||
@-if [ -e sandwich ]; then \
|
@-if [ -e sandwich ]; then \
|
||||||
${RM} -f sandwich; \
|
${RM} -f sandwich; \
|
||||||
echo 'ate sandwich'; \
|
echo 'ate sandwich'; \
|
||||||
|
|||||||
Reference in new issue
Block a user