Fix Westley's entries (dead link, .gitignore)

The main link was dead but looking at the Internet Wayback Machine I
found that he changed domains and it's still valid. One entry had a
different URL but with a quick check I could not determine that it had
anything to do with him so I changed it to his own domain (which I
verified is his).

The 2001/westley/.gitignore was also updated as it has other source
files that are generated by the commands in the try section.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-20 08:52:19 -07:00
1 parent cf2ec74b17
commit 4614d2a4bb
11 files changed
+40 -11

No files matched your search

+4
View File
@@ -1,2 +1,6 @@
westley
westley.alt
westley2
westley2.c
westley3
westley3.c
+11 -1
View File
@@ -63,7 +63,7 @@ X11_INCDIR= /opt/X11/include
# Common C compiler warnings to silence
#
#CSILENCE=
CSILENCE= -Wno-trigraphs
CSILENCE= -Wno-trigraphs -Wno-implicit-function-declaration -Wno-pedantic
# Common C compiler warning flags
#
@@ -169,6 +169,10 @@ TARGET= ${PROG}
ALT_OBJ= ${PROG}.alt.o
ALT_TARGET= ${PROG}.alt
# FORCE use of -trigraphs
#
CFLAGS+= -trigraphs
#################
# build the entry
@@ -187,6 +191,12 @@ ${PROG}: ${PROG}.c
${PROG}.alt: ${PROG}.alt.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
westley2: westley2.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
westley3: westley3.c
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable
#
alt: data ${ALT_TARGET}
+4 -3
View File
@@ -6,7 +6,8 @@ Best position-independent code:
St. Paul, MN 55105
USA
http://www.firesigntheatre.com
http://www.westley.org
## To build:
@@ -19,10 +20,10 @@ Best position-independent code:
### Try:
./westley < westley.c > westley2.c
cc westley2.c -ansi -o westley2
make westley2
echo 'Bozos, please deflate shoes before entering the bus!'| ./westley2
sort -b < westley2.c > westley3.c
cc westley3.c -ansi -o westley3
make westley3
./westley3 < westley.c | diff - westley.c
./westley3 < westley.c | diff - westley2.c
./westley3 < westley.c | diff - westley3.c