From da1a06c3c3f17ea5b0293cbdca59ad2b2ef1c536 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 7 Jul 1998 01:43:54 +0000 Subject: Added a `build-tools' target for internal tools. Honor LDFLAGS for building internal tools. --- games/phantasia/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile index 3d80ab832dd8..7108267cbb2b 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 \ -- cgit v1.3