summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gas/Makefile
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-04-25 06:48:40 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-04-25 06:48:40 +0000
commit98a8d7f0fe92b5b0ce238649f24a3f6607eeffcd (patch)
treecf9dfecfcbe613301414beba217a67a53dfd5507 /gnu/usr.bin/gas/Makefile
parentd7d1546f74aaed467d3e71b5588f026f843ae9fd (diff)
Improved cross-compilability (from non-a.out host)
Diffstat (limited to 'gnu/usr.bin/gas/Makefile')
-rw-r--r--gnu/usr.bin/gas/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gas/Makefile b/gnu/usr.bin/gas/Makefile
index 53365076fd2..6ea5e63ff51 100644
--- a/gnu/usr.bin/gas/Makefile
+++ b/gnu/usr.bin/gas/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1998/02/15 18:48:39 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 1998/04/25 06:48:34 niklas Exp $
# $NetBSD: Makefile,v 1.25 1997/10/25 10:10:35 lukem Exp $
# @(#)Makefile 6.1 (Berkeley) 3/3/91
TARGET_MACHINE_ARCH?= $(MACHINE_ARCH)
@@ -61,7 +61,7 @@ config_hostfile= $(.CURDIR)/config/ho-$(gas_hosttype).h
config_hostfile= $(.CURDIR)/config/ho-generic.h
.endif
-host.h: Makefile config/Makefile.$(MACHINE_ARCH)
+host.h: $(config_hostfile)
@cmp -s $(config_hostfile) host.h || \
( echo "updating ${.TARGET}..." ; /bin/rm -f host.h ; \
cp $(config_hostfile) host.h )