Make 1987/heckbert examples work

That is the examples have been changed to not break. See the README.md
file for details (including some fun details).
This commit is contained in:
Cody Boone Ferguson committed 2023-03-01 05:44:14 -08:00
1 parent 17609d36ed
commit 67ea38312a
4 files changed
+27 -34

No files matched your search

+1 -9
View File
@@ -179,21 +179,13 @@ ALT_TARGET= ${PROG}.orig
all: ${DATA} ${TARGET}
@${TRUE}
.PHONY: alt data everything clean clobber nuke dist_clean \
.PHONY: data everything clean clobber nuke dist_clean \
install build love haste waste make easter_egg \
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable
#
alt: ${DATA} ${ALT_TARGET}
@${TRUE}
${PROG}.orig: ${PROG}.orig.c
@echo "NOTE: The original source may not compile using modern compilers."
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# data files
#