Move 2018/ferguson/prog-simple.c to prog.alt.c
This is to match the rest of the repo as this truly is an alt version, not a supplementary program. Updated README.md to have an 'Alternate code' section as well. A number of files had to be changed as numerous files referred to prog-simple.c.
This commit is contained in:
1 parent
fc3a43d5f0
commit
d664871317
8 files changed
+29
-23
No files matched your search
@@ -112,8 +112,8 @@ CSRC= ${PROG}.o
|
||||
DATA= FILES hint.css rpm.md test-strings.txt weasel.1 weasel.man weasel.spec
|
||||
TARGET= ${PROG} weasel
|
||||
#
|
||||
ALT_OBJ= ${PROG}-simple.o
|
||||
ALT_TARGET= ${PROG}-simple weasel-simple
|
||||
ALT_OBJ= ${PROG}.alt
|
||||
ALT_TARGET= ${PROG}.alt weasel.alt
|
||||
|
||||
|
||||
#################
|
||||
@@ -141,10 +141,10 @@ test: ${PROG} test.sh
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
${PROG}-simple: ${PROG}-simple.c
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
|
||||
weasel-simple: ${PROG}-simple
|
||||
weasel.alt: ${PROG}.alt
|
||||
${CP} -f $< $@
|
||||
|
||||
# data files
|
||||
|
||||
Reference in new issue
Block a user