diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-19 13:35:54 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-09-19 13:35:54 +0000 |
commit | c4e993b876e440a952cae6a911fcbeea155560ea (patch) | |
tree | cfdf91d93ead5c2653d426d4407cba144a4ff82c /usr.bin/pcc | |
parent | 10c2243dcbe8a78c9b9d6d47cd7c3c515e4265fe (diff) |
make it easier to support other archs; remoev some dependencies (also
submitted by pyr); from mickey@ ok ragge@
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r-- | usr.bin/pcc/cc/ccom/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/pcc/cc/ccom/Makefile b/usr.bin/pcc/cc/ccom/Makefile index fdbaa232881..82da4e0c238 100644 --- a/usr.bin/pcc/cc/ccom/Makefile +++ b/usr.bin/pcc/cc/ccom/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2007/09/18 10:12:10 otto Exp $ +# $OpenBSD: Makefile,v 1.8 2007/09/19 13:35:53 otto Exp $ # # Makefile for the cpp part of pcc. # @@ -7,7 +7,11 @@ PREFIX= /usr/local BINDIR= ${PREFIX}/libexec MANDIR= ${PREFIX}/man/man TARGOS= openbsd +.if ${MACHINE_ARCH} == "i386" TARGMACH= x86 +.else +TARGMACH= ${MACHINE_ARCH} +.endif CLEANFILES= external.h external.c mkext CFLAGS+= -DPCC_DEBUG -DGCC_COMPAT @@ -39,9 +43,6 @@ mkext: mkext.c table.c common.c external.h external.c: mkext ./mkext -pass2.h: external.h -optim2.o reader.o: external.h - cleandepend: rm -f .depend ${.CURDIR}/tags cgram.h |