Annotation of 43BSDTahoe/games/cribbage/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: # Copyright (c) 1987 Regents of the University of California.
        !             3: # All rights reserved.
        !             4: #
        !             5: # Redistribution and use in source and binary forms are permitted
        !             6: # provided that the above copyright notice and this paragraph are
        !             7: # duplicated in all such forms and that any documentation,
        !             8: # advertising materials, and other materials related to such
        !             9: # distribution and use acknowledge that the software was developed
        !            10: # by the University of California, Berkeley.  The name of the
        !            11: # University may not be used to endorse or promote products derived
        !            12: # from this software without specific prior written permission.
        !            13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
        !            14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
        !            15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            16: #
        !            17: #      @(#)Makefile    5.7 (Berkeley) 6/18/88
        !            18: #
        !            19: CFLAGS=        -O
        !            20: LIBC=  /lib/libc.a
        !            21: LIBS=  -lcurses -ltermlib
        !            22: HDRS=  cribbage.h deck.h cribcur.h
        !            23: SRCS=  extern.c crib.c support.c cards.c score.c io.c
        !            24: OBJS=  extern.o crib.o support.o cards.o score.o io.o
        !            25: TOBJS= test.o cards.o score.o io.o extern.o
        !            26: 
        !            27: all: cribbage crib.instr
        !            28: 
        !            29: cribbage: ${OBJS} ${LIBC}
        !            30:        ${CC} -o $@ ${CFLAGS} ${OBJS} ${LIBS}
        !            31: 
        !            32: test: ${TOBJS} ${LIBC}
        !            33:        ${CC} -o $@ ${CFLAGS} ${TOBJS} ${LIBS}
        !            34: 
        !            35: crib.instr: cribbage.n macro
        !            36:        nroff cribbage.n > crib.instr
        !            37: 
        !            38: clean: FRC
        !            39:        rm -f ${OBJS} core crib.instr cribbage test
        !            40: 
        !            41: depend: FRC
        !            42:        mkdep ${CFLAGS} ${SRCS}
        !            43: 
        !            44: install: FRC
        !            45:        install -o games -g bin -m 400 crib.instr ${DESTDIR}/usr/games/lib/crib.instr
        !            46:        install -s -o games -g bin -m 4700 cribbage ${DESTDIR}/usr/games/hide
        !            47:        (cd ${DESTDIR}/usr/games; rm -f cribbage; ln -s dm cribbage; chown games.bin cribbage)
        !            48: 
        !            49: lint: FRC
        !            50:        lint ${CFLAGS} ${SRCS}
        !            51: 
        !            52: tags: FRC
        !            53:        ctags ${SRCS}
        !            54: 
        !            55: FRC:
        !            56: 
        !            57: # DO NOT DELETE THIS LINE -- mkdep uses it.
        !            58: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
        !            59: 
        !            60: extern.o: extern.c /usr/include/curses.h /usr/include/stdio.h
        !            61: extern.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
        !            62: extern.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h deck.h
        !            63: extern.o: cribbage.h
        !            64: crib.o: crib.c /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h
        !            65: crib.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
        !            66: crib.o: /usr/include/sys/ttydev.h /usr/include/signal.h
        !            67: crib.o: /usr/include/machine/trap.h deck.h cribbage.h cribcur.h
        !            68: support.o: support.c /usr/include/curses.h /usr/include/stdio.h
        !            69: support.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
        !            70: support.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h deck.h
        !            71: support.o: cribbage.h cribcur.h
        !            72: cards.o: cards.c /usr/include/stdio.h deck.h
        !            73: score.o: score.c /usr/include/stdio.h deck.h cribbage.h
        !            74: io.o: io.c /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h
        !            75: io.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
        !            76: io.o: /usr/include/sys/ttydev.h /usr/include/ctype.h /usr/include/signal.h
        !            77: io.o: /usr/include/machine/trap.h deck.h cribbage.h cribcur.h
        !            78: 
        !            79: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY

unix.superglobalmegacorp.com

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