3 .PHONY: all-physics objs-physics deps-physics
4 all-physics: ${TARGET_$P} ${CFGS_$P} ${LIBSTXT_$P} ${LIBSCPY_$P} ${TXT_$P}
5 objs-physics: ${L_OBJS_$P}
6 deps-physics: ${L_DEPS_$P}
12 ${TARGETTMP_$D}: ${BINDIR_$P}${LIBSDIRNAME_$P}${SONAME_${G_LIB}}
15 # rule to copy library lib into the working directory
16 ${BINDIR_$P}${LIBSDIRNAME_$P}${SONAME_${G_LIB}}: ${TARGET_${G_LIB}} | $${@D}
19 # how to link the main target
20 ${TARGETTMP_$P}: ${L_OBJS_$P} | $${@D}
23 # rule to copy tmp target to working directory
24 ${TARGET_$P}: ${TARGETTMP_$P} | $${@D}
27 # rule to copy the config files into the working directory
28 ${DSTCFGDIR_$P}%: ${SRCCFGDIR_$P}% | $${@D}
31 # rule to copy the library files into the working directory
32 ${DSTLIBSDIR_$P}%: ${SRCLIBSDIR_$P}% | $${@D}
35 # rule to copy the text files into the working directory
36 ${DSTTXTDIR_$P}%: ${SRCTXTDIR_$P}% | $${@D}
39 # rule to make an object file from a .cpp
40 ${OBJSDIR_$P}%.o: ${SRCSDIR_$P}%.cpp | $${@D}
43 # rule to make a depend file from a .cpp
44 ${DEPSDIR_$P}%.d: ${SRCSDIR_$P}%.cpp | $${@D}
49 include ${F_CLEANRULES}