summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2003-10-18 07:40:27 +0000
committerlukem <lukem@NetBSD.org>2003-10-18 07:40:27 +0000
commit2c9d660d25b79e9638f82eac75697f7a0e85a085 (patch)
tree5612ef83f2c79a346310bf72030e8dddc14b2bdd /phantasia
parent53855f86140f687b2a00fef401a073d3f0a2d165 (diff)
downloadbsdgames-darwin-2c9d660d25b79e9638f82eac75697f7a0e85a085.tar.gz
bsdgames-darwin-2c9d660d25b79e9638f82eac75697f7a0e85a085.tar.zst
bsdgames-darwin-2c9d660d25b79e9638f82eac75697f7a0e85a085.zip
rework to use BUILDSYMLINKS and the <bsd.sys.mk> rule for .c.lo
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/phantasia/Makefile b/phantasia/Makefile
index 474af4ec..6d260aca 100644
--- a/phantasia/Makefile
+++ b/phantasia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2003/09/30 09:23:19 lukem Exp $
+# $NetBSD: Makefile,v 1.28 2003/10/18 07:40:27 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@@ -36,11 +36,8 @@ ${FILES}: setup
setup: host_phantglobs.lo setup.lo monsters.asc ${LIBM}
${HOST_LINK.c} host_phantglobs.lo setup.lo -o ${.TARGET} -lm
-host_phantglobs.lo: ${.CURDIR}/phantglobs.c
- ${HOST_COMPILE.c} -o host_phantglobs.lo ${.CURDIR}/phantglobs.c
-
-setup.lo: ${.CURDIR}/setup.c
- ${HOST_COMPILE.c} -o setup.lo ${.CURDIR}/setup.c
+BUILDSYMLINKS+= phantglobs.c host_phantglobs.c
+HOST_CPPFLAGS+= -I${.CURDIR}
# Make Phantasia map. Change the map commands reflect your installation.
# PLOTDEVICE is used for plotting the map. Change as appropriate.