summaryrefslogtreecommitdiffstats
path: root/games/phantasia/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 01:43:54 +0000
committerbde <bde@FreeBSD.org>1998-07-07 01:43:54 +0000
commit8e1f3205b79c3a2837eb7289ebfac2d6f4ae6093 (patch)
tree6baaf93bf294129082d3a280aead8d7004e40754 /games/phantasia/Makefile
parent78764e3ba621751472f66ff7b872c7f63b29df3a (diff)
downloadFreeBSD-src-8e1f3205b79c3a2837eb7289ebfac2d6f4ae6093.zip
FreeBSD-src-8e1f3205b79c3a2837eb7289ebfac2d6f4ae6093.tar.gz
Added a `build-tools' target for internal tools.
Honor LDFLAGS for building internal tools.
Diffstat (limited to 'games/phantasia/Makefile')
-rw-r--r--games/phantasia/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index 3d80ab8..7108267 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -11,12 +11,14 @@ CLEANFILES=${DATAFILES} map setup setup.o stamp.setuprun
all: stamp.setuprun
+build-tools: setup
+
stamp.setuprun: monsters.asc setup
./setup -m ${.CURDIR}/monsters.asc
touch ${.TARGET}
setup: phantglobs.o setup.o ${LIBM}
- ${CC} ${CFLAGS} phantglobs.o setup.o -o ${.TARGET} -lm
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} phantglobs.o setup.o -lm
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 660 \
OpenPOWER on IntegriCloud