summaryrefslogtreecommitdiff
path: root/usr.bin/pcc
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-09-18 10:12:11 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-09-18 10:12:11 +0000
commit5d68dfcd2ea021faef09c89d47af09242822105a (patch)
tree21e2e0fae5cc4e10bc04ed2c24e644e4c0ba6f71 /usr.bin/pcc
parent138d90b7843b167c256ae3bdd78bc8d218751f7a (diff)
mkext should be a seperate target; from mickey@
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r--usr.bin/pcc/cc/ccom/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/pcc/cc/ccom/Makefile b/usr.bin/pcc/cc/ccom/Makefile
index e8b6c490f27..fdbaa232881 100644
--- a/usr.bin/pcc/cc/ccom/Makefile
+++ b/usr.bin/pcc/cc/ccom/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2007/09/17 07:20:49 todd Exp $
+# $OpenBSD: Makefile,v 1.7 2007/09/18 10:12:10 otto Exp $
#
# Makefile for the cpp part of pcc.
#
@@ -30,11 +30,13 @@ cgram.c: cgram.y
mv y.tab.c cgram.c
mv y.tab.h cgram.h
-external.h external.c: mkext.c table.c common.c
+mkext: mkext.c table.c common.c
$(CC) $(CPPFLAGS) $(CFLAGS) -DMKEXT -o mkext \
${.CURDIR}/../../mip/mkext.c \
${.CURDIR}/../../arch/${TARGMACH}/table.c \
${.CURDIR}/../../mip/common.c
+
+external.h external.c: mkext
./mkext
pass2.h: external.h