summaryrefslogtreecommitdiff
path: root/usr.bin/pcc/cc/Makefile
blob: 1dbca15d34f0ffe82019ca4d6f58aecd3b687a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.6 2008/08/17 18:40:12 ragge Exp $
#
# Makefile for the cc part of pcc.
#
PROG=   	pcc
SRCS=		cc.c
MAN=		cc.1
PREFIX=		/usr/local
BINDIR=		${PREFIX}/bin
MANDIR=		${PREFIX}/man/man
TARGOS=		openbsd
TARGMACH=       ${MACHINE_ARCH}
#LINKS=		${PREFIX}/bin/pcc ${PREFIX}/bin/cc

CFLAGS+=	-DLIBEXECDIR=\"${PREFIX}/libexec/\"
CPPFLAGS+=	-I${.CURDIR}/..
CPPFLAGS+=	-DDEFMACH=\"${TARGMACH}\"

.include <bsd.prog.mk>