Fix funny problem in alt target in 1989/westley

In linux running make ver1 and make ver2 and make ver3 (not sure about
ver0 now) there was a strange error when running the rules that meant
the code was not compiled. Thinking on it just now it very likely was
the exit code of the program causing the problem but the file was
generated so I added a '-' to the line so that the rule will proceed to
try and compile the code.
This commit is contained in:
Cody Boone Ferguson committed 2023-07-08 06:04:34 -07:00
1 parent b6330673cc
commit 19d7c1fe7f
1 file changed
+4 -4
+4 -4
View File
@@ -140,21 +140,21 @@ alt: data ${ALT_TARGET}
@${TRUE}
ver0: ${PROG}
./${PROG} < westley.c > ver0.c
-./${PROG} < westley.c > ver0.c
-${CC} ${CFLAGS} ver0.c -o $@ ${LIBS}
ver1: ${PROG}
./${PROG} 1 < westley.c > ver1.c
-./${PROG} 1 < westley.c > ver1.c
@echo "** NOTE: this version will not compile with clang **"
-${CC} ${CFLAGS} ver1.c -o $@ ${LIBS}
ver2: ${PROG}
./${PROG} 1 2 < westley.c > ver2.c
-./${PROG} 1 2 < westley.c > ver2.c
@echo "** NOTE: this version will not compile with clang **"
-${CC} ${CFLAGS} ver2.c -o $@ ${LIBS}
ver3: ${PROG}
./${PROG} 1 2 3 < westley.c > ver3.c
-./${PROG} 1 2 3 < westley.c > ver3.c
@echo "** NOTE: this version will not compile with clang **"
-${CC} ${CFLAGS} ver3.c -o $@ ${LIBS}