first run implementation of Queue
[libbear.git] / rules.mk
1
2 define cmd-link
3   ${Q1}${PRNTFMT} "${CXX}" "$@"
4   ${Q2}${CXX} $^ -o $@ ${CXXFLAGS} ${LNKFLAGS} ${LIBS}
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}" "$@"
14   ${Q2}${CXX} $< -o $@ ${CXXFLAGS} ${INCFLAGS} -c
15 endef
16
17 define cmd-cpptodep
18   ${Q1}${PRNTFMT} "DEP" "$@"
19   ${Q2}${CXX} $< -MF $@ ${CXXFLAGS} ${INCFLAGS} -MM -MQ ${@:${DEPSDIR}%.d=${OBJSDIR}%.o} -MQ $@
20 endef
21
22
23 ${L_BLDDIRS}:
24         ${Q1}${PRNTFMT} "mkdir" "$@"
25         ${Q2}mkdir $@
26