Add Makefiles for moved 1988-2004 entries

This commit is contained in:
Landon Curt Noll committed 2022-09-18 23:53:49 -07:00
1 parent d2a42f42e8
commit 0c8b2e96d1
154 files changed
+36683

No files matched your search

+73
View File
@@ -0,0 +1,73 @@
# %W% %G% %U%
#
# 1990 makefile
#
# Copyright (c) 1990,2022, 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
MAKE=make
MAKEFLAGS=e
# uncomment the line to select the preferred type of compile
#
# You should also check the ansi.mk or common.mk for the
# proper compiler name and flags.
#
# NOTE ==> USE=ansi compile with an ANSI compiler by default
#USE=ansi
# NOTE ==> USE=common compile with a common K&R compiler by default
#USE=common
WINNERS=cmills pjr westley stig tbr dg dds theorem baruch jaw scjones
all:
-@if [ "${USE}" = "common" ]; then \
echo ${MAKE} -k -f common.mk all; \
${MAKE} -k -f common.mk all; \
elif [ "${USE}" = "ansi" ]; then \
echo ${MAKE} -k -f ansi.mk all; \
${MAKE} -k -f ansi.mk all; \
else \
echo "set USE= in Makefile to be ansi or common as desired"; \
echo "or type: make -f ansi.mk for ansi makes"; \
echo "or type: make -f common.mk for common K&R makes"; \
exit 1; \
fi
ansi:
${MAKE} -f ansi.mk all
common:
${MAKE} -f common.mk all
${WINNERS}:
-@if [ "${USE}" = "common" ]; then \
echo ${MAKE} -k -f common.mk $@; \
${MAKE} -k -f common.mk $@; \
elif [ "${USE}" = "ansi" ]; then \
echo ${MAKE} -k -f ansi.mk $@; \
${MAKE} -k -f ansi.mk $@; \
else \
echo "set USE= in Makefile to be ansi or common as desired"; \
echo "or type: make -f ansi.mk for ansi makes"; \
echo "or type: make -f common.mk for common K&R makes"; \
exit 1;\
fi
clean:
${MAKE} -f ansi.mk clean
${MAKE} -f common.mk clean
clobber:
${MAKE} -f ansi.mk clobber
${MAKE} -f common.mk clobber
nuke: clobber
${MAKE} -f ansi.mk nuke
${MAKE} -f common.mk nuke
install:
${MAKE} -f ansi.mk install
${MAKE} -f common.mk install