restore original source as alt source to 1984/anonymous

By request, the original code was restored as
1984/anonymous/anonymous.alt.c to show the original code that was
turned into the tattoo.
This commit is contained in:
Landon Curt Noll committed 2023-06-05 15:43:54 -07:00
1 parent 985dd9fc1a
commit ff1ce1521a
5 files changed
+35 -9

No files matched your search

+10 -5
View File
@@ -39,7 +39,8 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-implicit-int \
-Wno-return-type -Wno-string-plus-int -Wno-unsequenced
-Wno-return-type -Wno-string-plus-int -Wno-unsequenced \
-Wno-deprecated-non-prototype -Wno-void-pointer-to-int-cast
# Common C compiler warning flags
#
@@ -85,7 +86,8 @@ CC= cc
ifeq ($(CC),clang)
#
CSILENCE+= -Wno-poison-system-directories -Wno-shadow -Wno-missing-prototypes \
-Wno-strict-prototypes -Wno-missing-variable-declarations -Wno-pedantic
-Wno-strict-prototypes -Wno-missing-variable-declarations -Wno-pedantic \
-Wno-void-pointer-to-int-cast
#
CWARN+= -Weverything
#
@@ -113,8 +115,8 @@ OBJ= ${PROG}.o
DATA=
TARGET= ${PROG}
#
ALT_OBJ=
ALT_TARGET=
ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}.alt
#################
@@ -129,7 +131,6 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
@echo "NOTE: This entry most likely will not work under macOS."
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable
@@ -137,6 +138,10 @@ ${PROG}: ${PROG}.c
alt: data ${ALT_TARGET}
@${TRUE}
${ALT_TARGET}: ${PROG}.alt.c
@echo "NOTE: This entry may not work on some systems."
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# data files
#
data: ${DATA}