Commit | Line | Data |
---|---|---|
6d8ae407 | 1 | |
6f4fcfee PG |
2 | ${G_ALL_PHYSICS}: ${TARGET_$P} ${CFGS_$P} ${LIBSTXT_$P} ${LIBSCPY_$P} ${TXT_$P} |
3 | ${G_OBJS_PHYSICS}: ${L_OBJS_$P} | |
4 | ${G_DEPS_PHYSICS}: ${L_DEPS_$P} | |
6d8ae407 | 5 | |
6d8ae407 | 6 | |
5dc2e2fa | 7 | ${TARGETTMP_$D}: ${BINDIR_$P}/${LIBSDIRNAME_$P}/${SONAME_${G_LIB}} |
c569b5d1 PG |
8 | |
9 | ||
2d2d614e | 10 | # rule to copy library lib into the working directory |
5dc2e2fa | 11 | ${BINDIR_$P}/${LIBSDIRNAME_$P}/${SONAME_${G_LIB}}: ${TARGET_${G_LIB}} | $${@D} |
c569b5d1 | 12 | ${cmd-cp} |
6d8ae407 PG |
13 | |
14 | # how to link the main target | |
15 | ${TARGETTMP_$P}: ${L_OBJS_$P} | $${@D} | |
16 | ${cmd-link} | |
17 | ||
18 | # rule to copy tmp target to working directory | |
19 | ${TARGET_$P}: ${TARGETTMP_$P} | $${@D} | |
20 | ${cmd-cp} | |
21 | ||
6d8ae407 | 22 | # rule to copy the config files into the working directory |
1c05c702 | 23 | ${DSTCFGDIR_$P}%: ${SRCCFGDIR_$P}% | $${@D} |
6d8ae407 PG |
24 | ${cmd-cp} |
25 | ||
26 | # rule to copy the library files into the working directory | |
1c05c702 | 27 | ${DSTLIBSDIR_$P}%: ${SRCLIBSDIR_$P}% | $${@D} |
6d8ae407 PG |
28 | ${cmd-cp} |
29 | ||
30 | # rule to copy the text files into the working directory | |
1c05c702 | 31 | ${DSTTXTDIR_$P}%: ${SRCTXTDIR_$P}% | $${@D} |
6d8ae407 PG |
32 | ${cmd-cp} |
33 | ||
34 | # rule to make an object file from a .cpp | |
35 | ${OBJSDIR_$P}%.o: ${SRCSDIR_$P}%.cpp | $${@D} | |
36 | ${cmd-cpptoobj} | |
37 | ||
38 | # rule to make a depend file from a .cpp | |
39 | ${DEPSDIR_$P}%.d: ${SRCSDIR_$P}%.cpp | $${@D} | |
40 | ${cmd-cpptodep} | |
41 | ||
42 | ||
ccb31c84 | 43 | T := $P |
9f459986 | 44 | include ${F_CLEANRULES} |
ccb31c84 | 45 | T := |
6d8ae407 | 46 |