ok, this time the $HOSTCC stuff works correctly
authorderaadt <deraadt@openbsd.org>
Thu, 13 Feb 1997 00:12:07 +0000 (00:12 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 13 Feb 1997 00:12:07 +0000 (00:12 +0000)
usr.bin/strip/Makefile

index 78cc445..cea2c11 100644 (file)
@@ -1,13 +1,13 @@
-#      $OpenBSD: Makefile,v 1.4 1997/02/11 17:42:51 deraadt Exp $
+#      $OpenBSD: Makefile,v 1.5 1997/02/13 00:12:07 deraadt Exp $
 
 PROG=  strip
 .if ${HOSTCC} != ${CC}
 STRIP=./hoststrip
 
-realinstall:: hoststrip
+realinstall: hoststrip
 
 hoststrip: strip.c
-       ${HOSTCC} strip.c -o hoststrip
+       ${HOSTCC} ${.CURDIR}/strip.c -o hoststrip
 .else
 STRIP=./strip
 .endif