DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦70bd4bd3d⟧ TextFile

    Length: 2563 (0xa03)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Cribbage/Makefile« 

TextFile

#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#	@(#)Makefile	5.6 (Berkeley) 3/10/88
#
CFLAGS=	-O
LIBC=	/lib/libc.a
LIBS=	-lcurses -ltermlib
HDRS=	cribbage.h deck.h cribcur.h
SRCS=	extern.c crib.c support.c cards.c score.c io.c
OBJS=	extern.o crib.o support.o cards.o score.o io.o
TOBJS=	test.o cards.o score.o io.o extern.o

all: cribbage crib.instr

cribbage: ${OBJS} ${LIBC}
	${CC} -o $@ ${CFLAGS} ${OBJS} ${LIBS}

test: ${TOBJS} ${LIBC}
	${CC} -o $@ ${CFLAGS} ${TOBJS} ${LIBS}

crib.instr: cribbage.n macro
	nroff cribbage.n > crib.instr

clean: FRC
	rm -f ${OBJS} core crib.instr cribbage test

depend: FRC
	mkdep ${CFLAGS} ${SRCS}

install: FRC
	install -o games -g bin -m 400 crib.instr ${DESTDIR}/usr/games/lib/crib.instr
	install -s -o games -g bin -m 4700 cribbage ${DESTDIR}/usr/games/hide
	(cd ${DESTDIR}/usr/games; rm -f cribbage; ln -s dm cribbage; chown games.bin cribbage)

lint: FRC
	lint ${CFLAGS} ${SRCS}

tags: FRC
	ctags ${SRCS}

FRC:

# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

extern.o: extern.c /usr/include/curses.h /usr/include/stdio.h
extern.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
extern.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h deck.h
extern.o: cribbage.h
crib.o: crib.c /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h
crib.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
crib.o: /usr/include/sys/ttydev.h /usr/include/signal.h deck.h cribbage.h
crib.o: cribcur.h
support.o: support.c /usr/include/curses.h /usr/include/stdio.h
support.o: /usr/include/sgtty.h /usr/include/sys/ioctl.h
support.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h deck.h
support.o: cribbage.h cribcur.h
cards.o: cards.c /usr/include/stdio.h deck.h
score.o: score.c /usr/include/stdio.h deck.h cribbage.h
io.o: io.c /usr/include/curses.h /usr/include/stdio.h /usr/include/sgtty.h
io.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
io.o: /usr/include/sys/ttydev.h /usr/include/ctype.h /usr/include/signal.h
io.o: deck.h cribbage.h cribcur.h

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY