Update 2001/anonymous/Makefile - add cpp rule
This compiles the C pre-processed version as it seems like this will be useful to any person crazy (by which I mean bold) enough to try and fix it (and I give much respect to them!). It is compiled by make all: maybe this is a mistake but it seems like it's going to be useful if anyone is to fix it. This part can be undone of course.
This commit is contained in:
1 parent
56a0711630
commit
bb7736cb2b
1 file changed
+10
-1
+10
-1
@@ -117,7 +117,7 @@ PROG= ${ENTRY}
|
||||
#
|
||||
OBJ= ${PROG}.o
|
||||
DATA=
|
||||
TARGET= ${PROG}
|
||||
TARGET= ${PROG} cpp
|
||||
#
|
||||
ALT_OBJ=
|
||||
ALT_TARGET=
|
||||
@@ -142,6 +142,15 @@ ${PROG}: ${PROG}.c
|
||||
$$magic $$warning -Dmagic= $$X "-DX=A($$magic \"$$X\")" \
|
||||
$< -o $@ ${LIBS}
|
||||
|
||||
cpp: cpp.c
|
||||
@echo "NOTE: this entry seems to no longer work."
|
||||
magic='${CC} ${CFLAGS}'; \
|
||||
X='-DA(X)=#X'; \
|
||||
warning='-Dprocessor'; \
|
||||
$$magic $$warning -Dmagic= $$X "-DX=A($$magic \"$$X\")" \
|
||||
$< -o $@ ${LIBS}
|
||||
|
||||
|
||||
${PROG}.ten: ${PROG}.ten.c
|
||||
@echo "NOTE: this program must be compiled as 32-bit to use with the entry itself."
|
||||
@echo "if you want to use it where this is not possible e.g. with a Mac try, say to"
|
||||
|
||||
Reference in new issue
Block a user