binutils227: Add build dirs.
[dragonfly.git] / gnu / usr.bin / binutils227 / block3 / incremental-dump / Makefile
blob7eaa3f7c9c5cc3914285ecd37e44b4e503615ea4
1 .include "../../Makefile.inc1"
2 .include "../Makefile.gld"
4 PROG_CXX= incremental-dump
5 OBJS= incremental-dump.o
6 COMMOBJS= ${GOLD_COMMON:S|^|${.OBJDIR:H}/gold-linker/|:.cc=.o}
7 CFLAGS+= -I${.CURDIR}/../../block2/libgold
8 LDADD= ${STD_LDADD}
9 NOMAN=
11 # The <bsd.obj.mk> prevents searching for object files in other
12 # directory's work area. In order to avoid building the COMMONOBJS
13 # twice, a custom target has to be applied, and the sources have to
14 # defined as OBJS, not SRCS for this to work.
16 incremental-dump: ${OBJS} ${COMMOBJS}
17 ${CXX_LINK} ${CXXFLAGS} ${LDFLAGS} -o ${.TARGET} \
18 ${OBJS} ${COMMOBJS} ${LDADD}
20 .include <bsd.prog.mk>