remove old ${PROG}.orig file related rules

This commit is contained in:
Landon Curt Noll committed 2023-03-26 21:03:54 -07:00
1 parent 50385626dd
commit 0ddcc983ce
5 files changed
+8 -24

No files matched your search

+2 -2
View File
@@ -126,8 +126,8 @@ OBJ= ${PROG}.o
DATA= DATA=
TARGET= ${PROG} TARGET= ${PROG}
# #
ALT_OBJ= ${PROG}.orig.o ALT_OBJ=
ALT_TARGET= ${PROG}.orig ALT_TARGET=
################# #################
+2 -9
View File
@@ -122,8 +122,8 @@ OBJ= ${PROG}.o
DATA= DATA=
TARGET= ${PROG} TARGET= ${PROG}
# #
ALT_OBJ= ${PROG}.orig.o ALT_OBJ=
ALT_TARGET= ${PROG}.orig ALT_TARGET=
################# #################
@@ -142,13 +142,6 @@ ${PROG}: ${PROG}.c
${CC} ${CFLAGS} $< -o $@ ${LIBS} ${CC} ${CFLAGS} $< -o $@ ${LIBS}
-${LN} $@ a.out -${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 files
# #
data: ${DATA} data: ${DATA}
+2 -2
View File
@@ -123,8 +123,8 @@ OBJ= ${PROG}.o
DATA= DATA=
TARGET= ${PROG} TARGET= ${PROG}
# #
ALT_OBJ= ${PROG}.orig.o ALT_OBJ=
ALT_TARGET= ${PROG}.orig ALT_TARGET=
################# #################
-5
View File
@@ -151,11 +151,6 @@ alt: data ${ALT_TARGET}
data: ${DATA} data: ${DATA}
@${TRUE} @${TRUE}
${PROG}.orig: ${PROG}.orig.c
${RM} -f $@
${CP} -f fubar.orig.sh $@
${CHMOD} +x $@
# both all and alt # both all and alt
# #
everything: all alt everything: all alt
+2 -6
View File
@@ -121,8 +121,8 @@ OBJ= ${PROG}.o
DATA= DATA=
TARGET= ${PROG} TARGET= ${PROG}
# #
ALT_OBJ= ${PROG}.orig.o ALT_OBJ=
ALT_TARGET= ${PROG}.orig ALT_TARGET=
################# #################
@@ -145,10 +145,6 @@ ${PROG}: ${PROG}.c
alt: data ${ALT_TARGET} alt: data ${ALT_TARGET}
${CC} ${CFLAGS} $< -o $@ ${LIBS} ${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 files
# #
data: ${DATA} data: ${DATA}