Annotation of 43BSD/games/mille/Makefile, revision 1.1.1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.