summaryrefslogtreecommitdiffstats
path: root/hack/Makefile
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1997-04-19 07:20:13 +0000
committerthorpej <thorpej@NetBSD.org>1997-04-19 07:20:13 +0000
commit6e65822ba7aed8ade399abc0aeef3a41843ef361 (patch)
treed19f261a01e0ca37909b546a8d7df4e1e2101d36 /hack/Makefile
parentf9c0e6f6a4f10f8524acdbd7659a74ed7952723f (diff)
downloadbsdgames-darwin-6e65822ba7aed8ade399abc0aeef3a41843ef361.tar.gz
bsdgames-darwin-6e65822ba7aed8ade399abc0aeef3a41843ef361.tar.zst
bsdgames-darwin-6e65822ba7aed8ade399abc0aeef3a41843ef361.zip
Allow this to be cross-compiled.
Diffstat (limited to 'hack/Makefile')
-rw-r--r--hack/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/Makefile b/hack/Makefile
index f13a45e1..80fd5248 100644
--- a/hack/Makefile
+++ b/hack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 1997/03/27 10:55:21 mycroft Exp $
+# $NetBSD: Makefile,v 1.21 1997/04/19 07:20:13 thorpej Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95
PROG= hack
@@ -29,7 +29,7 @@ hack.onames.h: makedefs def.objects.h
${.OBJDIR}/makedefs ${.CURDIR}/def.objects.h > hack.onames.h
makedefs: makedefs.c
- ${CC} ${CFLAGS} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c ${LDADD}
+ ${HOST_CC} ${HOST_CFLAGS} ${HOST_LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${.CURDIR}/${.PREFIX}.c
.if !exists(${DESTDIR}${FILESDIR}/perm)
proginstall:: clobber