improved 1984/mullender Makefile
Improved the warning with a make alt suggestion. Also removed alt2 rule that was no longer needed.
This commit is contained in:
1 parent
57e9ffacf3
commit
1c5e09a252
1 file changed
+11
-5
+11
-5
@@ -131,8 +131,17 @@ all: data ${TARGET}
|
|||||||
sandwich supernova deep_magic magic charon pluto
|
sandwich supernova deep_magic magic charon pluto
|
||||||
|
|
||||||
${PROG}: ${PROG}.c
|
${PROG}: ${PROG}.c
|
||||||
@echo "Warning: this entry is likely to fail and/or dump core on any computer other"
|
@echo "Warning: this entry is likely to fail and/or dump core on any computer other" \
|
||||||
@echo "than a Vax-11 or pdp-11."
|
"than a Vax-11 or pdp-11."
|
||||||
|
@echo
|
||||||
|
@echo "For the rest of us, we recommend:"
|
||||||
|
@echo
|
||||||
|
@echo " make alt"
|
||||||
|
@echo
|
||||||
|
@echo "and then running:"
|
||||||
|
@echo
|
||||||
|
@echo " ./ ${ALT_TARGET}"
|
||||||
|
@echo
|
||||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||||
|
|
||||||
gentab: gentab.c
|
gentab: gentab.c
|
||||||
@@ -147,9 +156,6 @@ alt: data ${ALT_TARGET}
|
|||||||
${PROG}.alt: ${PROG}.alt.c
|
${PROG}.alt: ${PROG}.alt.c
|
||||||
${CC} -include stdio.h -include unistd.h -include stdlib.h ${CFLAGS} -Wno-implicit-int $< -o $@ ${LDFLAGS}
|
${CC} -include stdio.h -include unistd.h -include stdlib.h ${CFLAGS} -Wno-implicit-int $< -o $@ ${LDFLAGS}
|
||||||
|
|
||||||
${PROG}.alt2: ${PROG}.alt2.c
|
|
||||||
${CC} -include stdio.h -include unistd.h -include stdlib.h ${CFLAGS} -Wno-implicit-int $< -o $@ ${LDFLAGS}
|
|
||||||
|
|
||||||
# data files
|
# data files
|
||||||
#
|
#
|
||||||
data: ${DATA}
|
data: ${DATA}
|
||||||
|
|||||||
Reference in new issue
Block a user