remove orig Makefiles for years 1984 thru 1998
This commit is contained in:
1 parent
e8e050a073
commit
1dc1b2ff62
33 files changed
-1467
No files matched your search
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1984 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1984, Landon Curt Noll.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= anonymous
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
anonymous: anonymous.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1984 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1984, Landon Curt Noll.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= decot
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
decot: decot.c
|
|
||||||
cc $? -o $@ -lm
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1984 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1984, Landon Curt Noll.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= laman
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
laman: laman.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1984 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1984, Landon Curt Noll.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= mullender
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
mullender: mullender.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
#!/usr/bin/env make
|
|
||||||
#
|
|
||||||
# Orwellian 1984 makefile
|
|
||||||
#
|
|
||||||
# This work by Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis
|
|
||||||
# is licensed under:
|
|
||||||
#
|
|
||||||
# Creative Commons Attribution-ShareAlike 3.0 Unported License.
|
|
||||||
#
|
|
||||||
# See: http://creativecommons.org/licenses/by-sa/3.0/
|
|
||||||
|
|
||||||
|
|
||||||
################
|
|
||||||
# tool locations
|
|
||||||
################
|
|
||||||
#
|
|
||||||
SHELL= /bin/bash
|
|
||||||
CP= cp
|
|
||||||
CPP= cpp
|
|
||||||
GUNZIP= gunzip
|
|
||||||
LD= ld
|
|
||||||
MAKE= make
|
|
||||||
RM= rm
|
|
||||||
SED= sed
|
|
||||||
TAR= tar
|
|
||||||
TRUE= true
|
|
||||||
|
|
||||||
# ANSI compiler
|
|
||||||
#
|
|
||||||
# Set CC to the name of your ANSI compiler.
|
|
||||||
#
|
|
||||||
CC= cc
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# IOCCC winners
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
WINNERS= anonymous laman decot mullender
|
|
||||||
|
|
||||||
###################
|
|
||||||
# build all entries
|
|
||||||
###################
|
|
||||||
#
|
|
||||||
all:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# utility rules
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
clean:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
clobber:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
install:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1985 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= applin
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
applin: applin.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1985 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= august
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
august: august.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1985 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= lycklama
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
lycklama: lycklama.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
#!/usr/bin/env make
|
|
||||||
#
|
|
||||||
# 1985 makefile
|
|
||||||
#
|
|
||||||
# This work by Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis
|
|
||||||
# is licensed under:
|
|
||||||
#
|
|
||||||
# Creative Commons Attribution-ShareAlike 3.0 Unported License.
|
|
||||||
#
|
|
||||||
# See: http://creativecommons.org/licenses/by-sa/3.0/
|
|
||||||
|
|
||||||
|
|
||||||
################
|
|
||||||
# tool locations
|
|
||||||
################
|
|
||||||
#
|
|
||||||
SHELL= /bin/bash
|
|
||||||
CP= cp
|
|
||||||
CPP= cpp
|
|
||||||
GUNZIP= gunzip
|
|
||||||
LD= ld
|
|
||||||
MAKE= make
|
|
||||||
RM= rm
|
|
||||||
SED= sed
|
|
||||||
TAR= tar
|
|
||||||
TRUE= true
|
|
||||||
|
|
||||||
# ANSI compiler
|
|
||||||
#
|
|
||||||
# Set CC to the name of your ANSI compiler.
|
|
||||||
#
|
|
||||||
CC= cc
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# IOCCC winners
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
WINNERS= applin august lycklama shapiro sicherman
|
|
||||||
|
|
||||||
###################
|
|
||||||
# build all entries
|
|
||||||
###################
|
|
||||||
#
|
|
||||||
all:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# utility rules
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
clean:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
clobber:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
install:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1985 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= shapiro
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
shaprio: shaprio.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1985 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= sicherman
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
scherman: sicherman.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= applin
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
applin: applin.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= august
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
august: august.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= bright
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
bright: bright.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= hague
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
hague: hague.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= holloway
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
holloway: holloway.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= marshall
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
marshall: marshall.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
#!/usr/bin/env make
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# This work by Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis
|
|
||||||
# is licensed under:
|
|
||||||
#
|
|
||||||
# Creative Commons Attribution-ShareAlike 3.0 Unported License.
|
|
||||||
#
|
|
||||||
# See: http://creativecommons.org/licenses/by-sa/3.0/
|
|
||||||
|
|
||||||
|
|
||||||
################
|
|
||||||
# tool locations
|
|
||||||
################
|
|
||||||
#
|
|
||||||
SHELL= /bin/bash
|
|
||||||
CP= cp
|
|
||||||
CPP= cpp
|
|
||||||
GUNZIP= gunzip
|
|
||||||
LD= ld
|
|
||||||
MAKE= make
|
|
||||||
RM= rm
|
|
||||||
SED= sed
|
|
||||||
TAR= tar
|
|
||||||
TRUE= true
|
|
||||||
|
|
||||||
# ANSI compiler
|
|
||||||
#
|
|
||||||
# Set CC to the name of your ANSI compiler.
|
|
||||||
#
|
|
||||||
CC= cc
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# IOCCC winners
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
WINNERS= marshall hague applin bright stein holloway august pawka wall
|
|
||||||
|
|
||||||
###################
|
|
||||||
# build all entries
|
|
||||||
###################
|
|
||||||
#
|
|
||||||
all:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# utility rules
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
clean:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
clobber:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
install:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= pawka
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
pawka: pawka.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= stein
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
stein: stein.c
|
|
||||||
-rm -f a.out
|
|
||||||
cc $? -o $@
|
|
||||||
-ln $@ a.out
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1986 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1986, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= wall
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
wall: wall.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS} a.out
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= biggar
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
biggar: biggar.c
|
|
||||||
cc -DC="R>0" -DI="if(T)O" -DO="c=write(1,&c,1);" \
|
|
||||||
-DP="main(){X}" -DR="read(0,&c,1)" -DT="c!=015" \
|
|
||||||
-DW="while(C)I" -DX="char c;W" $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= heckbert
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
heckbert: heckbert.c
|
|
||||||
cc ${OPSYS} $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= hines
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
hines: hines.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= korn
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
korn: korn.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= lievaart lievaart2
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
lievaart: lievaart.c
|
|
||||||
cc $? -o $@
|
|
||||||
# not an official entry
|
|
||||||
lievaart2: lievaart2.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
#!/usr/bin/env make
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# This work by Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis
|
|
||||||
# is licensed under:
|
|
||||||
#
|
|
||||||
# Creative Commons Attribution-ShareAlike 3.0 Unported License.
|
|
||||||
#
|
|
||||||
# See: http://creativecommons.org/licenses/by-sa/3.0/
|
|
||||||
|
|
||||||
|
|
||||||
################
|
|
||||||
# tool locations
|
|
||||||
################
|
|
||||||
#
|
|
||||||
SHELL= /bin/bash
|
|
||||||
CP= cp
|
|
||||||
CPP= cpp
|
|
||||||
GUNZIP= gunzip
|
|
||||||
LD= ld
|
|
||||||
MAKE= make
|
|
||||||
RM= rm
|
|
||||||
SED= sed
|
|
||||||
TAR= tar
|
|
||||||
TRUE= true
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
# ANSI compiler
|
|
||||||
#
|
|
||||||
# Set CC to the name of your ANSI compiler.
|
|
||||||
#
|
|
||||||
CC= cc
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# IOCCC winners
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
WINNERS= heckbert wall westley hines korn biggar lievaart
|
|
||||||
|
|
||||||
###################
|
|
||||||
# build all entries
|
|
||||||
###################
|
|
||||||
#
|
|
||||||
all:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) OPSYS=${OPSYS} $@)"; \
|
|
||||||
(cd $$i && $(MAKE) "OPSYS=${OPSYS}" $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
###############
|
|
||||||
# utility rules
|
|
||||||
###############
|
|
||||||
#
|
|
||||||
clean:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
clobber:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
|
|
||||||
install:
|
|
||||||
@for i in ${WINNERS} ; do \
|
|
||||||
echo "(cd $$i && $(MAKE) $@)"; \
|
|
||||||
(cd $$i && $(MAKE) $@); \
|
|
||||||
done
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= wall
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
wall: wall.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1987 makefile
|
|
||||||
#
|
|
||||||
# Copyright (c) 1987, Landon Curt Noll & Larry Bassel.
|
|
||||||
# All Rights Reserved. Permission for personal, educational or non-profit
|
|
||||||
# use is granted provided this this copyright and notice are included in its
|
|
||||||
# entirety and remains unaltered. All other uses must receive prior permission
|
|
||||||
# from Landon Curt Noll and Larry Bassel.
|
|
||||||
|
|
||||||
|
|
||||||
SHELL= /bin/sh
|
|
||||||
WINNERS= westley
|
|
||||||
|
|
||||||
# for System V style systems
|
|
||||||
OPSYS= -Dindex=strchr
|
|
||||||
# for BSD style systems
|
|
||||||
#OPSYS=
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
westley: westley.c
|
|
||||||
cc $? -o $@
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f core
|
|
||||||
clobber: clean
|
|
||||||
rm -f ${WINNERS}
|
|
||||||
install: all
|
|
||||||
@echo are you kidding'??'
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1990 makefile
|
|
||||||
|
|
||||||
SHELL=/bin/sh
|
|
||||||
|
|
||||||
# flags for ANSI compiles
|
|
||||||
#
|
|
||||||
# These flags are setup for gcc, change as/if needed
|
|
||||||
#
|
|
||||||
PEDANTIC=-pedantic
|
|
||||||
CFLAGS=-O -ansi
|
|
||||||
CHMOD=chmod
|
|
||||||
CC=gcc
|
|
||||||
CP=cp
|
|
||||||
RM=rm
|
|
||||||
LN=ln
|
|
||||||
|
|
||||||
# winners that may be ok to compile with ANSI
|
|
||||||
#
|
|
||||||
WINNERS=cmills pjr westley stig tbr dg baruch jaw scjones
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
ansi: all
|
|
||||||
|
|
||||||
common:
|
|
||||||
@echo "wrong makefile, use common.mk"
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
cmills: cmills.c
|
|
||||||
${CC} ${CFLAGS} -DM=500 -DN=52 -DX="srand((int)time(0L))" -DV=void \
|
|
||||||
-o cmills cmills.c
|
|
||||||
|
|
||||||
pjr: pjr.c
|
|
||||||
${CC} ${CFLAGS} pjr.c -o pjr
|
|
||||||
|
|
||||||
westley: westley.c
|
|
||||||
${CC} ${CFLAGS} westley.c -o westley
|
|
||||||
|
|
||||||
stig: stig.c stig.ksh
|
|
||||||
@echo "run the Korn shell, and source stig.ksh"
|
|
||||||
@echo "or read stig.hint and create your own aliases"
|
|
||||||
|
|
||||||
scjones: scjones.c
|
|
||||||
${CC} ${CFLAGS} scjones.c -o scjones
|
|
||||||
|
|
||||||
tbr: tbr.c
|
|
||||||
${CC} ${CFLAGS} tbr.c -o tbr
|
|
||||||
|
|
||||||
dg: dg.c
|
|
||||||
${CC} ${CFLAGS} dg.c -Dindex=strchr -o dg
|
|
||||||
# compile with the following if you don't have strchr()
|
|
||||||
#${CC} ${CFLAGS} dg.c -o dg
|
|
||||||
|
|
||||||
dds: dds.c LANDER.BAS
|
|
||||||
${CC} ${CFLAGS} dds.c -o dds
|
|
||||||
|
|
||||||
theorem: theorem.c
|
|
||||||
${CC} ${CFLAGS} theorem.c -o theorem
|
|
||||||
${RM} -f sorter.c
|
|
||||||
-./theorem -r 0 0 0 0 < theorem.c > sorter.c
|
|
||||||
${CC} ${CFLAGS} sorter.c -o sorter
|
|
||||||
${RM} -f fibonacci.c
|
|
||||||
-./sorter 0 0 0 0 < theorem.c > fibonacci.c
|
|
||||||
${CC} ${CFLAGS} fibonacci.c -o fibonacci
|
|
||||||
|
|
||||||
baruch: baruch.c
|
|
||||||
${CC} ${CFLAGS} baruch.c -o baruch
|
|
||||||
|
|
||||||
jaw: jaw.c shark.sh
|
|
||||||
${RM} -f ./zcat ./atob ./jaw
|
|
||||||
${CC} ${CFLAGS} ${PEDANTIC} jaw.c -o zcat
|
|
||||||
${LN} zcat atob
|
|
||||||
echo 'PATH=;export PATH;atob|zcat' > jaw
|
|
||||||
${CHMOD} 0555 ./jaw
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${RM} -f *.o a.out core
|
|
||||||
clobber: clean
|
|
||||||
${RM} -f ${WINNERS} sorter.c sorter
|
|
||||||
${RM} -f fibonacci.c fibonacci atob zcat
|
|
||||||
nuke: clobber
|
|
||||||
@true
|
|
||||||
install: all
|
|
||||||
cat ${WINNERS} > /dev/null
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1990 makefile
|
|
||||||
|
|
||||||
SHELL=/bin/sh
|
|
||||||
CHMOD=chmod
|
|
||||||
CC=gcc
|
|
||||||
CP=cp
|
|
||||||
RM=rm
|
|
||||||
SED=sed
|
|
||||||
LN=ln
|
|
||||||
|
|
||||||
# flags for common K&R compiles
|
|
||||||
#
|
|
||||||
CFLAGS=-O
|
|
||||||
CC=cc
|
|
||||||
|
|
||||||
# winners that may be ok to compile with common K&R
|
|
||||||
#
|
|
||||||
WINNERS=cmills pjr westley tbr dg dds theorem baruch jaw scjones
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
ansi:
|
|
||||||
@echo "wrong makefile, use ansi.mk"
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
common: all
|
|
||||||
|
|
||||||
cmills: cmills.c
|
|
||||||
${CC} ${CFLAGS} -DM=500 -DN=52 -DX="srand((int)time(0L))" -DV=int \
|
|
||||||
-o cmills cmills.c
|
|
||||||
|
|
||||||
pjr: pjr.c
|
|
||||||
${CC} ${CFLAGS} pjr.c -o pjr
|
|
||||||
|
|
||||||
westley: westley.alt.c
|
|
||||||
${CC} ${CFLAGS} westley.alt.c -o westley
|
|
||||||
|
|
||||||
westley.alt.c: westley.c
|
|
||||||
${RM} -f westley.alt.c
|
|
||||||
-${SED} -e 's/signed//' -e 's/1s/1/g' -e 's/^ #/#/' \
|
|
||||||
westley.c > westley.alt.c
|
|
||||||
|
|
||||||
stig: stig.c stig.ksh
|
|
||||||
@echo "run the Korn shell, and source stig.ksh"
|
|
||||||
@echo "or read stig.hint and create your own aliases"
|
|
||||||
|
|
||||||
tbr: tbr.c
|
|
||||||
${CC} ${CFLAGS} tbr.c -o tbr
|
|
||||||
|
|
||||||
dg: dg.c
|
|
||||||
${CC} ${CFLAGS} dg.c -Dindex=strchr -o dg
|
|
||||||
# compile with the following if you don't have strchr()
|
|
||||||
#${CC} ${CFLAGS} dg.c -o dg
|
|
||||||
|
|
||||||
dds: dds.c LANDER.BAS
|
|
||||||
${CC} ${CFLAGS} dds.c -o dds
|
|
||||||
|
|
||||||
theorem: theorem.c
|
|
||||||
${CC} ${CFLAGS} theorem.c -o theorem
|
|
||||||
${RM} -f sorter.c
|
|
||||||
-./theorem -r 0 0 0 0 < theorem.c > sorter.c
|
|
||||||
${CC} ${CFLAGS} sorter.c -o sorter
|
|
||||||
${RM} -f fibonacci.c
|
|
||||||
-./sorter 0 0 0 0 < theorem.c > fibonacci.c
|
|
||||||
${CC} ${CFLAGS} fibonacci.c -o fibonacci
|
|
||||||
|
|
||||||
baruch: baruch.c
|
|
||||||
${CC} ${CFLAGS} baruch.c -o baruch
|
|
||||||
|
|
||||||
jaw: jaw.c
|
|
||||||
${RM} -f ./zcat ./atob ./jaw
|
|
||||||
${CC} ${CFLAGS} jaw.c -o zcat
|
|
||||||
${LN} zcat atob
|
|
||||||
echo 'PATH=;export PATH;atob|zcat' > jaw
|
|
||||||
${CHMOD} 0555 ./jaw
|
|
||||||
|
|
||||||
scjones: scjones.alt.c stdlib.h
|
|
||||||
${CC} ${CFLAGS} -I. scjones.alt.c -o scjones
|
|
||||||
|
|
||||||
# NOTE: scjones.alt.c is just a de-ANSI-fied scjones.c for example only
|
|
||||||
#
|
|
||||||
scjones.alt.c: scjones.c
|
|
||||||
${RM} -f scjones.alt.c
|
|
||||||
-${SED} -e 's#??/#\\#g' -e 's/??=/#/g' -e 's/??(/[/g' -e 's/??)/]/g' \
|
|
||||||
-e "s/??'/^/g" -e 's/??</{/g' -e 's/??!/|/g' -e 's/??>/}/g' \
|
|
||||||
-e 's/??-/~/g' scjones.c > scjones.alt.c
|
|
||||||
|
|
||||||
stdlib.h:
|
|
||||||
${RM} -f stdlib.h
|
|
||||||
echo "#define EXIT_SUCCESS 0" >stdlib.h
|
|
||||||
echo "#define EXIT_FAILURE 1" >>stdlib.h
|
|
||||||
echo "void exit(); /* may need to be int on some systems */" >>stdlib.h
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *.o a.out core
|
|
||||||
clobber: clean
|
|
||||||
${RM} -f ${WINNERS} sorter.c sorter westley.alt.c stdlib.h
|
|
||||||
${RM} -f fibonacci.c fibonacci atob zcat scjonds.alt.c
|
|
||||||
nuke: clobber
|
|
||||||
@true
|
|
||||||
install: all
|
|
||||||
cat ${WINNERS} > /dev/null
|
|
||||||
@@ -1,156 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1991 makefile
|
|
||||||
|
|
||||||
SHELL=/bin/sh
|
|
||||||
CHMOD=chmod
|
|
||||||
CP=cp
|
|
||||||
RM=rm
|
|
||||||
SED=sed
|
|
||||||
LN=ln
|
|
||||||
|
|
||||||
# flags for ansi compiles
|
|
||||||
#
|
|
||||||
# NOTE: Some ANSI compilers make use of -Xa to turn on ANSI mode,
|
|
||||||
# others such as gcc may want -ansi, others may want nothing
|
|
||||||
# at all. Adjust the CFLAGS line as needed.
|
|
||||||
#
|
|
||||||
CFLAGS=-O -Xa
|
|
||||||
CC=cc
|
|
||||||
|
|
||||||
# winners that may be ok to compile with common K&R
|
|
||||||
#
|
|
||||||
WINNERS= ant brnstnd buzzard cdupont davidguy dds fine westley rince
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
common:
|
|
||||||
@echo "wrong makefile, use ansi.mk"
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
ansi: all
|
|
||||||
|
|
||||||
# NOTE: some systems may need:
|
|
||||||
#
|
|
||||||
# old SYS V:
|
|
||||||
# cc ${CFLAGS} -DMODE=0600 -DBUF=32767 -o ant ant.c -lcurses
|
|
||||||
# ATARI ST:
|
|
||||||
# cc -DMODE=0 -DBUF=32767 -o ant.ttp ant.c curses.a
|
|
||||||
# PC class:
|
|
||||||
# wcl -mc -DMODE=0 -DBUF=32767 ant.c curses.lib
|
|
||||||
#
|
|
||||||
ant: ant.c
|
|
||||||
${CC} ${CFLAGS} -DMODE=0600 -DBUF=32767 ant.c -o ant -lcurses -ltermcap
|
|
||||||
|
|
||||||
brnstnd: brnstnd_ansi.c
|
|
||||||
${CC} ${CFLAGS} -DM=malloc -DX=free -Do=250 brnstnd_ansi.c -o brnstnd
|
|
||||||
|
|
||||||
buzzard: buzzard.c
|
|
||||||
${CC} ${CFLAGS} buzzard.c -o buzzard
|
|
||||||
|
|
||||||
cdupont: cdupont_ansi.c
|
|
||||||
${CC} ${CFLAGS} -Ds=\"cdupont.c\" -Dt=\"r\" cdupont_ansi.c -o cdupont
|
|
||||||
|
|
||||||
# NOTE: some systems may need:
|
|
||||||
#
|
|
||||||
# ${CC} ${CFLAGS} davidguy.c -o davidguy
|
|
||||||
# or:
|
|
||||||
# ${CC} ${CFLAGS} davidguy.c -o davidguy -linet
|
|
||||||
#
|
|
||||||
davidguy: davidguy.c
|
|
||||||
${CC} ${CFLAGS} davidguy.c -o davidguy -lsocket -lnsl
|
|
||||||
|
|
||||||
# NOTE: this is the original program that won the contest
|
|
||||||
#
|
|
||||||
# BSD:
|
|
||||||
# ${CC} ${CFLAGS} davidguy.orig.c -o davidguy.orig
|
|
||||||
#
|
|
||||||
davidguy.orig: davidguy.orig.c
|
|
||||||
${CC} ${CFLAGS} davidguy.orig.c -o davidguy.orig -lsocket -lnsl
|
|
||||||
|
|
||||||
dds: dds.ansi.c LANDER.BAS
|
|
||||||
${CC} ${CFLAGS} dds.ansi.c -o dds
|
|
||||||
|
|
||||||
fine: fine.c
|
|
||||||
${CC} ${CFLAGS} fine.c -o fine
|
|
||||||
|
|
||||||
westley: westley.c ttt
|
|
||||||
${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
westley.c -o westley
|
|
||||||
|
|
||||||
# the hint file gives nextmove.c as an example, provide a build rule for it
|
|
||||||
#
|
|
||||||
nextmove: nextmove.c ttt
|
|
||||||
${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
nextmove.c -o nextmove
|
|
||||||
|
|
||||||
# the ttt script has been added by the judges to make playing westley easy
|
|
||||||
#
|
|
||||||
ttt: ttt.sh
|
|
||||||
rm -f ttt
|
|
||||||
cp ttt.sh ttt
|
|
||||||
chmod +x ttt
|
|
||||||
|
|
||||||
# used by the ttt shell script when playing westley
|
|
||||||
#
|
|
||||||
# The ttt script controls what goes into merlyn.c, and how it is used.
|
|
||||||
# The merlyn program and source represent the best (hopefully) state that
|
|
||||||
# the program has evolved into thus far. The ttt_game program and source
|
|
||||||
# represent the current state of the game.
|
|
||||||
#
|
|
||||||
merlyn: merlyn.c ttt
|
|
||||||
@${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
merlyn.c -o merlyn
|
|
||||||
ttt_game: ttt_game.c ttt
|
|
||||||
@${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
ttt_game.c -o ttt_game
|
|
||||||
|
|
||||||
# The upper level makefile wants to make these source files if they don't
|
|
||||||
# already exist.
|
|
||||||
#
|
|
||||||
merlyn.c: westley.c
|
|
||||||
rm -f merlyn.c
|
|
||||||
cp westley.c merlyn.c
|
|
||||||
chmod +w merlyn.c
|
|
||||||
nextmove.c: westley.c
|
|
||||||
rm -f nextmove.c
|
|
||||||
cp westley.c nextmove.c
|
|
||||||
chmod +w nextmove.c
|
|
||||||
ttt_game.c: westley.c
|
|
||||||
rm -f ttt_game.c
|
|
||||||
cp westley.c ttt_game.c
|
|
||||||
chmod +w ttt_game.c
|
|
||||||
|
|
||||||
# NOTE: some systems may need:
|
|
||||||
#
|
|
||||||
# old SYS V:
|
|
||||||
# cc ${CFLAGS} -o rince rince.c -lcurses
|
|
||||||
#
|
|
||||||
# The original source is found in rince.orig.c. Many ANSI compilers have
|
|
||||||
# problems with it, so by default we use rince_ansi.c.
|
|
||||||
#
|
|
||||||
# GNU CC users can compile this with:
|
|
||||||
#
|
|
||||||
# gcc -ansi rince.orig.c -o rince -lcurses -ltermcap
|
|
||||||
#
|
|
||||||
rince: rince.c
|
|
||||||
${CC} ${CFLAGS} rince_ansi.c -o rince -lcurses -ltermcap
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${RM} -f *.o a.out core merlyn new_merlyn.c
|
|
||||||
clobber: clean
|
|
||||||
${RM} -f ${WINNERS} a.c a.out davidguy.orig ttt
|
|
||||||
${RM} -f merlyn merlyn.c nextmove.c nextmove.c
|
|
||||||
${RM} -f ttt_game ttt_game.c ttt_old.c ttt_new.c nextmove
|
|
||||||
nuke: clobber
|
|
||||||
@true
|
|
||||||
install: all
|
|
||||||
cat ${WINNERS} > /dev/null
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
# %W% %G% %U%
|
|
||||||
#
|
|
||||||
# 1991 makefile
|
|
||||||
|
|
||||||
SHELL=/bin/sh
|
|
||||||
CHMOD=chmod
|
|
||||||
CP=cp
|
|
||||||
RM=rm
|
|
||||||
SED=sed
|
|
||||||
LN=ln
|
|
||||||
|
|
||||||
# flags for common K&R compiles
|
|
||||||
#
|
|
||||||
CFLAGS=-O
|
|
||||||
CC=cc
|
|
||||||
|
|
||||||
# winners that may be ok to compile with common K&R
|
|
||||||
#
|
|
||||||
WINNERS= ant brnstnd buzzard cdupont davidguy dds fine westley rince
|
|
||||||
|
|
||||||
all: ${WINNERS}
|
|
||||||
|
|
||||||
ansi:
|
|
||||||
@echo "wrong makefile, use ansi.mk"
|
|
||||||
exit 1
|
|
||||||
|
|
||||||
common: all
|
|
||||||
|
|
||||||
# NOTE: some systems may need:
|
|
||||||
#
|
|
||||||
# old SYS V:
|
|
||||||
# cc ${CFLAGS} -DMODE=0600 -DBUF=32767 -o ant ant.c -lcurses
|
|
||||||
# ATARI ST:
|
|
||||||
# cc -DMODE=0 -DBUF=32767 -o ant.ttp ant.c curses.a
|
|
||||||
# PC class:
|
|
||||||
# wcl -mc -DMODE=0 -DBUF=32767 ant.c curses.lib
|
|
||||||
#
|
|
||||||
ant: ant.c
|
|
||||||
${CC} ${CFLAGS} -DMODE=0600 -DBUF=32767 ant.c -o ant -lcurses -ltermcap
|
|
||||||
|
|
||||||
brnstnd: brnstnd.c
|
|
||||||
${CC} ${CFLAGS} -DM=malloc -DX=free -Do=250 brnstnd.c -o brnstnd
|
|
||||||
|
|
||||||
buzzard: buzzard.c
|
|
||||||
${CC} ${CFLAGS} buzzard.c -o buzzard
|
|
||||||
|
|
||||||
cdupont: cdupont.c
|
|
||||||
${CC} ${CFLAGS} -Ds=\"cdupont.c\" -Dt=\"r\" cdupont.c -o cdupont
|
|
||||||
|
|
||||||
# NOTE: some systems may need:
|
|
||||||
#
|
|
||||||
# ${CC} ${CFLAGS} davidguy.c -o davidguy
|
|
||||||
# or:
|
|
||||||
# ${CC} ${CFLAGS} davidguy.c -o davidguy -linet
|
|
||||||
#
|
|
||||||
davidguy: davidguy.c
|
|
||||||
${CC} ${CFLAGS} davidguy.c -o davidguy -lsocket -lnsl
|
|
||||||
|
|
||||||
# NOTE: this is the original program that won the contest
|
|
||||||
#
|
|
||||||
# BSD:
|
|
||||||
# ${CC} ${CFLAGS} davidguy.orig.c -o davidguy.orig
|
|
||||||
#
|
|
||||||
davidguy.orig: davidguy.orig.c
|
|
||||||
${CC} ${CFLAGS} davidguy.orig.c -o davidguy.orig -lsocket -lnsl
|
|
||||||
|
|
||||||
dds: dds.c LANDER.BAS
|
|
||||||
${CC} ${CFLAGS} dds.c -o dds
|
|
||||||
|
|
||||||
fine: fine.c
|
|
||||||
${CC} ${CFLAGS} fine.c -o fine
|
|
||||||
|
|
||||||
westley: westley.c ttt
|
|
||||||
${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
westley.c -o westley
|
|
||||||
|
|
||||||
# the hint file gives nextmove.c as an example, provide a build rule for it
|
|
||||||
#
|
|
||||||
nextmove: nextmove.c ttt
|
|
||||||
${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
nextmove.c -o nextmove
|
|
||||||
|
|
||||||
# the ttt script has been added by the judges to make playing westley easy
|
|
||||||
#
|
|
||||||
ttt: ttt.sh
|
|
||||||
rm -f ttt
|
|
||||||
cp ttt.sh ttt
|
|
||||||
chmod +x ttt
|
|
||||||
|
|
||||||
# used by the ttt shell script when playing westley
|
|
||||||
#
|
|
||||||
# The ttt script controls what goes into merlyn.c, and how it is used.
|
|
||||||
# The merlyn program and source represent the best (hopefully) state that
|
|
||||||
# the program has evolved into thus far. The ttt_game program and source
|
|
||||||
# represent the current state of the game.
|
|
||||||
#
|
|
||||||
merlyn: merlyn.c ttt
|
|
||||||
@${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
merlyn.c -o merlyn
|
|
||||||
ttt_game: ttt_game.c ttt
|
|
||||||
@${CC} ${CFLAGS} -DP=putchar -DN="P(10)" -DQ="P(34)" -DF="S(&X)" \
|
|
||||||
-DJ=z[4] -DK=J[14] \
|
|
||||||
-DH="w[]={146,7,292,73,448,56,84,273,325,297,108,324,22,40,48,40,17,325}" \
|
|
||||||
ttt_game.c -o ttt_game
|
|
||||||
|
|
||||||
# The upper level makefile wants to make these source files if they don't
|
|
||||||
# already exist.
|
|
||||||
#
|
|
||||||
merlyn.c: westley.c
|
|
||||||
rm -f merlyn.c
|
|
||||||
cp westley.c merlyn.c
|
|
||||||
chmod +w merlyn.c
|
|
||||||
nextmove.c: westley.c
|
|
||||||
rm -f nextmove.c
|
|
||||||
cp westley.c nextmove.c
|
|
||||||
chmod +w nextmove.c
|
|
||||||
ttt_game.c: westley.c
|
|
||||||
rm -f ttt_game.c
|
|
||||||
cp westley.c ttt_game.c
|
|
||||||
chmod +w ttt_game.c
|
|
||||||
|
|
||||||
# NOTE: some systems may need:
|
|
||||||
#
|
|
||||||
# old SYS V:
|
|
||||||
# cc ${CFLAGS} -o rince rince.c -lcurses
|
|
||||||
#
|
|
||||||
# The original source is found in rince.orig.c. Many ANSI compilers have
|
|
||||||
# problems with it, so by default we use rince_ansi.c.
|
|
||||||
#
|
|
||||||
# GNU CC users can compile this with:
|
|
||||||
#
|
|
||||||
# gcc -ansi rince.orig.c -o rince -lcurses -ltermcap
|
|
||||||
#
|
|
||||||
rince: rince.c
|
|
||||||
${CC} ${CFLAGS} rince.c -o rince -lcurses -ltermcap
|
|
||||||
|
|
||||||
clean:
|
|
||||||
${RM} -f *.o a.out core
|
|
||||||
clobber: clean
|
|
||||||
${RM} -f ${WINNERS} a.c a.out davidguy.orig ttt
|
|
||||||
${RM} -f merlyn merlyn.c nextmove.c nextmove.c
|
|
||||||
${RM} -f ttt_game ttt_game.c ttt_old.c ttt_new.c nextmove
|
|
||||||
nuke: clobber
|
|
||||||
@true
|
|
||||||
install: all
|
|
||||||
cat ${WINNERS} > /dev/null
|
|
||||||
Reference in new issue
Block a user