|
|
1.1 ! root 1: # ! 2: # mille bourne game makefile ! 3: # ! 4: # @(#)Makefile 1.7 (Berkeley) 8/14/83 ! 5: # ! 6: DESTDIR= ! 7: HEADERS=mille.h ! 8: CFILES= comp.c end.c extern.c init.c mille.c misc.c move.c print.c \ ! 9: roll.c save.c types.c varpush.c ! 10: OBJS= comp.o end.o extern.o init.o mille.o misc.o move.o print.o \ ! 11: roll.o save.o types.o varpush.o ! 12: POBJS= comp.po end.po extern.po init.po mille.po misc.po move.po \ ! 13: roll.po print.po save.po types.po varpush.po ! 14: CRL= ! 15: L= -lcurses -ltermlib ! 16: LIBS= ${CRL} ${L} ! 17: DEFS= ! 18: CFLAGS= -O ${DEFS} ! 19: BINDIR= ${DESTDIR}/usr/games ! 20: .SUFFIXES: .po .i ! 21: ! 22: .c.po: ! 23: rm -f x.c ; ln $*.c x.c ! 24: ${CC} ${CFLAGS} -p -c x.c ! 25: mv x.o $*.po ! 26: ! 27: .c.i: ! 28: ${CC} ${CFLAGS} -P $*.c ! 29: ! 30: a.out: ${OBJS} ${CRL} ! 31: ${CC} ${CFLAGS} ${OBJS} ${LIBS} ! 32: ! 33: mille: ${OBJS} ${CRL} ! 34: ${CC} ${CFLAGS} -o mille ${OBJS} ${LIBS} ! 35: ! 36: install: mille ! 37: install -c -s mille ${BINDIR} ! 38: ! 39: pmb: ${POBJS} ../pcrlib ! 40: ${CC} ${CFLAGS} -p -o pmb ${POBJS} ../pcrlib -ltermlib ! 41: ! 42: mille.po: mille.c ! 43: rm -f x.c ; ln mille.c x.c ! 44: ${CC} ${CFLAGS} -DPROF -p -c x.c ! 45: mv x.o mille.po ! 46: ! 47: table: table.o extern.o ! 48: ${CC} ${CFLAGS} -i -o table table.o extern.o ! 49: ! 50: readdump: readdump.o extern.o varpush.o ! 51: ${CC} ${CFLAGS} -i -o readdump readdump.o extern.o varpush.o ! 52: ! 53: ctags: ! 54: ctags ${HEADERS} ${CFILES} ! 55: ed - tags < :ctfix ! 56: sort tags -o tags ! 57: ! 58: lint: ! 59: lint -hxb ${DEFS} ${CFILES} ${L} > lint.out ! 60: ! 61: mille.ar: ! 62: ar ruv mille.ar Makefile tags ${HEADERS} ${CFILES} ! 63: ! 64: tar: ! 65: tar rvf /dev/rmt0 Makefile tags :ctfix ${HEADERS} ${CFILES} ! 66: ! 67: lpr: ! 68: pr Makefile ${HEADERS} ${CFILES} tags | lpr ; lpq ! 69: ! 70: clean: ! 71: rm -f ${OBJS} ${POBJS} core ? a.out mille
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.