xref: /dragonfly/libexec/customcc/Makefile (revision 25a2db75)
1SCRIPTS=	${.OBJDIR}/cc
2SCRIPTSDIR=	/usr/libexec/custom
3SYMLINKS=	cc ${SCRIPTSDIR}/cpp \
4		cc ${SCRIPTSDIR}/c++ \
5		cc ${SCRIPTSDIR}/gcc \
6		cc ${SCRIPTSDIR}/g++
7CLEANFILES=	cc
8NOMAN=
9
10${.OBJDIR}/cc: cc.sh
11	sed "s#@@INCPREFIX@@#${USRDATA_PREFIX:S;^$;/;}#g" $> > $@
12
13.include <bsd.prog.mk>
14