Fixes to 2001/westley
The Makefile now always regenerates the .sort.c and the .punch.c versions if westley.c has been modified. The try.sh script had a typo (not in a command that ends up being run but rather showing what would be run). Add bugs and (mis)features section with two statuses. Format/typo check README.md file. It is not clear to me just yet if this completes the review of the entry but it might.
This commit is contained in:
1 parent
d0b2db5220
commit
b917158c37
4 files changed
+88
-34
No files matched your search
+14
-4
@@ -145,10 +145,6 @@ westley2: westley2.c
|
||||
westley3: westley3.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
${PROG}.sort: ${PROG}.sort.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
alt: data ${ALT_TARGET}
|
||||
@@ -157,6 +153,20 @@ alt: data ${ALT_TARGET}
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
${PROG}.sort.c: ${PROG}
|
||||
${SORT} -b ${PROG}.c > $@
|
||||
|
||||
${PROG}.sort: ${PROG}.sort.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
${PROG}.punch.c: ${PROG}
|
||||
${SORT} ${PROG}.c > $@
|
||||
|
||||
${PROG}.punch: ${PROG}.punch.c
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user