Commit | Line | Data |
---|---|---|
fac0f562 PG |
1 | |
2 | define cmd-link | |
3 | ${Q1}${PRNTFMT} "${CXX}" "$@" | |
f26fd4e3 | 4 | ${Q2}${CXX} $^ -o $@ ${CXXFLAGS} ${LNKFLAGS} ${LIBS} |
fac0f562 PG |
5 | endef |
6 | ||
7 | define cmd-cp | |
8 | ${Q1}${PRNTFMT} "cp" "$@" | |
9 | ${Q2}cp $< $@ | |
10 | endef | |
11 | ||
12 | define cmd-cpptoobj | |
13 | ${Q1}${PRNTFMT} "${CXX}" "$@" | |
f26fd4e3 | 14 | ${Q2}${CXX} $< -o $@ ${CXXFLAGS} ${INCFLAGS} -c |
fac0f562 PG |
15 | endef |
16 | ||
17 | define cmd-cpptodep | |
18 | ${Q1}${PRNTFMT} "DEP" "$@" | |
f26fd4e3 | 19 | ${Q2}${CXX} $< -MF $@ ${CXXFLAGS} ${INCFLAGS} -MM -MQ ${@:${DEPSDIR}%.d=${OBJSDIR}%.o} -MQ $@ |
fac0f562 PG |
20 | endef |
21 | ||
016c4cab PG |
22 | |
23 | ${L_BLDDIRS}: | |
24 | ${Q1}${PRNTFMT} "mkdir" "$@" | |
25 | ${Q2}mkdir $@ | |
26 |