Make 1998/fanf more like the original

I've added some notes to `thanks-for-help` explaining the changes, and
removed the caveat from the README since the code is now much closer
to the original.

Fun fact: T for Tony is once again the only letter not used in fanf.c
This commit is contained in:
Tony Finch committed 2024-12-30 16:06:04 +00:00
1 parent 3d9355e1c2
commit 9a2f8dc168
4 files changed
+110 -102

No files matched your search

+3 -3
View File
@@ -41,7 +41,7 @@ include ../../var.mk
CSILENCE= -Wno-pointer-bool-conversion -Wno-unused-parameter -Wno-main \
-Wno-implicit-function-declaration -Wno-address \
-Wno-builtin-declaration-mismatch -Wno-int-conversion \
-Wno-gnu-line-marker
-Wno-gnu-line-marker -Wno-strict-prototypes
# Attempt to silence unknown warning option
#
@@ -132,8 +132,8 @@ all: data ${TARGET}
${PROG}: ${PROG}.c
@echo "This may take some time to complete:"
${CC} ${PROG}.c -E > ${PROG}tmp1.c
${CC} ${PROG}tmp1.c -E > ${PROG}tmp2.c
${CC} ${CSTD} ${PROG}.c -E > ${PROG}tmp1.c
${CC} ${CSTD} ${PROG}tmp1.c -E > ${PROG}tmp2.c
${CC} ${CFLAGS} ${PROG}tmp2.c ${LDFLAGS} -o $@
# alternative executable