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