=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/gprof/Makefile,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- src/usr.bin/gprof/Makefile 2003/07/22 17:15:13 1.14 +++ src/usr.bin/gprof/Makefile 2007/11/24 16:02:04 1.15 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2003/07/22 17:15:13 brad Exp $ +# $OpenBSD: Makefile,v 1.15 2007/11/24 16:02:04 espie Exp $ .include @@ -15,11 +15,17 @@ .else SRCS+=aout.c .endif - .if defined(PROG) beforedepend: ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.h machine.h ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.c machine.c + +machine.c: + ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.c machine.c + +machine.h: + ln -sf ${.CURDIR}/${TARGET_MACHINE_ARCH}.h machine.h + .endif # defined (PROG) beforeinstall: