From 2c9d660d25b79e9638f82eac75697f7a0e85a085 Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 18 Oct 2003 07:40:27 +0000 Subject: rework to use BUILDSYMLINKS and the rule for .c.lo --- phantasia/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'phantasia') 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 @@ -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. -- cgit v1.2.3-56-ge451