Rework generating of files so that every generation tool will only run once.
[dragonfly.git] / gnu / usr.bin / cc41 / cc_tools / gcov-iov / Makefile
blob33bdfa06c3540dba7450928f18b9631d85a74f7d
1 # $DragonFly: src/gnu/usr.bin/cc41/cc_tools/gcov-iov/Makefile,v 1.2 2007/08/25 15:29:28 corecode Exp $
3 .include "../Makefile.inc"
5 PROG= gcov-iov
7 all: ${TOOLGENDIR}/gcov-iov.h
8 ${TOOLGENDIR}/gcov-iov.h: BASE-VER DEV-PHASE ${PROG}.nx
9 ${.OBJDIR}/${PROG}.nx "`cat ${.ALLSRC:M*BASE-VER}`" \
10 "`cat ${.ALLSRC:M*DEV-PHASE}`" > ${.TARGET}.tmp
11 ${MIC} ${.TARGET}.tmp ${.TARGET}
13 .include <bsd.hostprog.mk>