From 0ddcc983cec3b0f7bfbf05aecc3259d0016b556f Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 26 Mar 2023 21:03:54 -0700 Subject: [PATCH] remove old ${PROG}.orig file related rules --- 1986/bright/Makefile | 4 ++-- 1986/stein/Makefile | 11 ++--------- 1987/heckbert/Makefile | 4 ++-- 1989/fubar/Makefile | 5 ----- 1989/jar.2/Makefile | 8 ++------ 5 files changed, 8 insertions(+), 24 deletions(-) diff --git a/1986/bright/Makefile b/1986/bright/Makefile index a33761e5c..789991f75 100644 --- a/1986/bright/Makefile +++ b/1986/bright/Makefile @@ -126,8 +126,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= ${PROG}.orig.o -ALT_TARGET= ${PROG}.orig +ALT_OBJ= +ALT_TARGET= ################# diff --git a/1986/stein/Makefile b/1986/stein/Makefile index 9df743403..eec931eb3 100644 --- a/1986/stein/Makefile +++ b/1986/stein/Makefile @@ -122,8 +122,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= ${PROG}.orig.o -ALT_TARGET= ${PROG}.orig +ALT_OBJ= +ALT_TARGET= ################# @@ -142,13 +142,6 @@ ${PROG}: ${PROG}.c ${CC} ${CFLAGS} $< -o $@ ${LIBS} -${LN} $@ a.out - -${PROG}.orig: ${PROG}.orig.c - @echo "NOTE: The original source might not compile using modern compilers." - -${RM} -f a.out - ${CC} ${CFLAGS} $< -o $@ ${LIBS} - -${LN} $@ a.out - # data files # data: ${DATA} diff --git a/1987/heckbert/Makefile b/1987/heckbert/Makefile index 0611220da..1098c5650 100644 --- a/1987/heckbert/Makefile +++ b/1987/heckbert/Makefile @@ -123,8 +123,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= ${PROG}.orig.o -ALT_TARGET= ${PROG}.orig +ALT_OBJ= +ALT_TARGET= ################# diff --git a/1989/fubar/Makefile b/1989/fubar/Makefile index 2d269ac02..706a7d918 100644 --- a/1989/fubar/Makefile +++ b/1989/fubar/Makefile @@ -151,11 +151,6 @@ alt: data ${ALT_TARGET} data: ${DATA} @${TRUE} -${PROG}.orig: ${PROG}.orig.c - ${RM} -f $@ - ${CP} -f fubar.orig.sh $@ - ${CHMOD} +x $@ - # both all and alt # everything: all alt diff --git a/1989/jar.2/Makefile b/1989/jar.2/Makefile index 24fb7b802..f3da6a414 100644 --- a/1989/jar.2/Makefile +++ b/1989/jar.2/Makefile @@ -121,8 +121,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= ${PROG}.orig.o -ALT_TARGET= ${PROG}.orig +ALT_OBJ= +ALT_TARGET= ################# @@ -145,10 +145,6 @@ ${PROG}: ${PROG}.c alt: data ${ALT_TARGET} ${CC} ${CFLAGS} $< -o $@ ${LIBS} -${PROG}.orig: ${PROG}.orig.c - @echo "NOTE: The original source might not compile using modern compilers." - ${CC} ${CFLAGS} $< -o $@ ${LIBS} - # data files # data: ${DATA}