|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 2401 (0x961) Types: TextFile Names: »Makefile«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Pm/BSD/Makefile«
# # Makefile: makefile for pm # # Tunables: # PM_ROLL - pathname of score file # PM_USER - pathname of user log file # OS_VERS - operating system version # (BSD29, BSD41, BSD42, BSD43) # SEND - pathname of binary export directory # FLAGS - miscellaneous compile flags # M68000 if running on a 68000 based machine # NOSOBUF if you get "__sobuf undefined" messages # (I don't know if this will work, I've never # gotten the message myself) # # [pm by Peter Costantinidis, Jr. @ University of California at Davis] # # # Files # sources broken into two parts for easy 2 part source distributions # HDRS = pm.h OBJS = config.o flsbuf.o init.o make_moves.o\ misc.o monsters.o msg.o pm.o random.o\ rip.o score.o screen.o timing.o warning.o SRCS1 = config.c flsbuf.c init.c make_moves.c\ misc.c monsters.c msg.c SRCS2 = pm.c random.c rip.c score.c screen.c timing.c warning.c SRCS = $(SRCS1) $(SRCS2) # # Configuration section # PM_ROLL = /usfa/g01030/ccohesh001/pm_roll PM_USER = /usfa/g01030/ccohesh001/pm_user OS_VERS = BSD42 DEFS = -DPM_ROLL=\"$(PM_ROLL)\" -DPM_USER=\"$(PM_USER)\" \ -D$(OS_VERS) -DWIZARD_UID=16649 DEST = /usfa/g01030/ccohesh001/xhesh FLAGS = # # Flags section # CFLAGS = -O $(DEFS) $(FLAGS) LDFLAGS = -o tester LINTARGS= -ahxc $(DEFS) -DLINT CRLIB = -lcurses TERMLIB = -ltermlib # # Misc. # PMLIB = pm.a PMDOC = pm.6 BEXPORT = READ_ME Makefile.b TODO $(PMLIB) $(PMDOC) config.c REST = READ_ME Makefile Makefile.b TODO $(HDRS) $(PMDOC) shar EX1 = $(REST) $(SRCS2) EX2 = $(SRCS1) tester: $(PMLIB) -mv tester tester.old cc $(LDFLAGS) $(PMLIB) $(CRLIB) $(TERMLIB) chmod 04711 tester install: pm pm_roll pm_user clean $(PMLIB): $(OBJS) ar rv $@ $? ranlib $@ clean: rm $(OBJS) *.old pm: tester -mv pm pm.old; mv tester pm # @strip pm >tester $(OBJS): $(HDRS) tags: $(HDRS) $(SRCS) ctags -u $? sort tags -o tags pm_roll: > $(PM_ROLL) pm_user: > $(PM_USER) Print: $(HDRS) $(SRCS) pr -l60 -w132 $? | lpr -d "-tpm" -touch Print P_all: pr -l60 -w132 Tags $(HDRS) $(SRCS) | lpr -mc -d "-tpm" -touch Print lint: lint $(LINTARGS) $(SRCS) -lcurses wc: wc $(HDRS) $(SRCS) # # To make a binary-only export # bexport: $(PMLIB) cp $(BEXPORT) $(DEST) # # To make a 2 part source distribution # export: /bin/sh shar $(EX1) > pm1.shar /bin/sh shar $(EX2) > pm2.shar Cxref: $(SRCS) $(HDRS) cxref $(SRCS) $(HDRS) > $@