summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-16 01:25:51 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-16 01:25:51 +0000
commitef16417ee60710f786359192ffffad95020cbf6d (patch)
treead95a4e68f0c2b32672c6e70cdcb83ec617fdc2b /usr.bin
parentdcf53c92ea15715a4406b9230a1c68943501ffb2 (diff)
Make make cross-compilable.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index 3cdd42351eb..6fb58fef1e6 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2001/07/18 13:29:49 espie Exp $
+# $OpenBSD: Makefile,v 1.30 2001/09/16 01:25:50 art Exp $
PROG= make
CFLAGS+= -I${.OBJDIR} -I${.CURDIR}
@@ -39,8 +39,8 @@ varhashconsts.h: generate
condhashconsts.h: generate
${.OBJDIR}/generate 2 ${MAGICCONDSLOTS} >${.TARGET}
-generate: generate.o stats.o memory.o
- ${CC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}
+generate: generate.c stats.c memory.c
+ ${HOSTCC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}
check: regress.o str.o memory.o buf.o
${CC} -o ${.TARGET} ${CFLAGS} ${.ALLSRC} ${LDADD}