# from: @(#)Makefile 5.10 (Berkeley) 12/8/90
-# $Id: Makefile,v 1.9 1993/08/14 22:21:45 mycroft Exp $
+# $Id: Makefile,v 1.10 1993/11/08 04:45:28 cgd Exp $
PROG= hack
CFLAGS+=-I.
./makedefs ${.CURDIR}/def.objects.h > hack.onames.h
makedefs: makedefs.c
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c ${LDADD}
+ ${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c ${LDADD}
beforeinstall:
@if [ ! -d ${DESTDIR}/var/games/hackdir ]; then \
# from: @(#)Makefile 5.8 (Berkeley) 9/2/92
-# $Id: Makefile,v 1.8 1993/08/10 02:46:49 mycroft Exp $
+# $Id: Makefile,v 1.9 1993/11/08 04:45:57 cgd Exp $
PROG= monop
SRCS= monop.c cards.c execute.c getinp.c houses.c jail.c misc.c morg.c \
./initdeck ${.CURDIR}/cards.inp
initdeck: initdeck.c
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.CURDIR}/initdeck.c ${LDADD}
+ ${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/initdeck.c ${LDADD}
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 cards.pck \