summaryrefslogtreecommitdiffstats
path: root/adventure
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2013-02-16 16:30:28 +0000
committerjmcneill <jmcneill@NetBSD.org>2013-02-16 16:30:28 +0000
commita81e9c805d53f67a659190635bb58590b0ffa0c7 (patch)
treecc46fa5d678a992e04cc87bdd107cd875f6176c0 /adventure
parent29bf2c45553022f3e4dc5aa0b4e61e990d54c584 (diff)
downloadbsdgames-darwin-a81e9c805d53f67a659190635bb58590b0ffa0c7.tar.gz
bsdgames-darwin-a81e9c805d53f67a659190635bb58590b0ffa0c7.tar.zst
bsdgames-darwin-a81e9c805d53f67a659190635bb58590b0ffa0c7.zip
Workaround a toolchain issue by renaming the 'setup' host tool to 'mkdata' to make UAC happy when building with Cygwin. As described here -- http://msdn.microsoft.com/en-us/library/windows/desktop/bb756960.aspx -- 32-bit executables whose filenames include the strings 'install', 'setup', 'update', 'patch', etc. by default will request admin privileges unless an application manifest is provided.
Diffstat (limited to 'adventure')
-rw-r--r--adventure/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/adventure/Makefile b/adventure/Makefile
index 6530c3ce..8f3467e0 100644
--- a/adventure/Makefile
+++ b/adventure/Makefile
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.13 2003/11/16 14:14:18 lukem Exp $
+# $NetBSD: Makefile,v 1.14 2013/02/16 16:30:28 jmcneill Exp $
# @(#)Makefile 8.1 (Berkeley) 6/12/93
PROG= adventure
SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c
MAN= adventure.6
HIDEGAME=hidegame
-CLEANFILES+=setup setup.lo data.c
+CLEANFILES+=mkdata setup.lo data.c
-data.c: glorkz setup
+data.c: glorkz mkdata
${_MKTARGET_CREATE}
- ./setup ${.CURDIR}/glorkz > data.c
+ ./mkdata ${.CURDIR}/glorkz > data.c
setup.lo: hdr.h
-setup: setup.lo
+mkdata: setup.lo
${_MKTARGET_LINK}
${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}