use LDSTATIC

This commit is contained in:
cgd 1993-11-08 04:45:28 +00:00
parent daea3d2f86
commit ed4933867f
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# 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.
@ -27,7 +27,7 @@ hack.onames.h: makedefs def.objects.h
./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 \

View File

@ -1,5 +1,5 @@
# 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 \
@ -16,7 +16,7 @@ cards.pck: initdeck
./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 \