3 CXXFLAGS_$P := ${G_CXXFLAGS}
4 LNKFLAGS_$P := ${G_LNKFLAGS} -Wl,-rpath,libs/ -rdynamic
5 LIBS_$P := ${G_LIBSDL} ${G_LIBGL} -lbear
7 SRCSDIR_$P := ${CURDIR}${G_SRCSDIR}
8 DEPSDIR_$P := ${CURDIR}${G_DEPSDIR}
9 OBJSDIR_$P := ${CURDIR}${G_OBJSDIR}
10 BINDIR_$P := ${CURDIR}${G_BINDIR}
13 T_INCDIRS_$P := ${SRCSDIR_$P} # lib/inc/
14 INCFLAGS_$P := $(addprefix -I, ${T_INCDIRS_$P})
15 T_INCDIRS_$P := # empty
17 CFGDIRNAME_$P := configs/
18 SRCCFGDIR_$P := ${CURDIR}${CFGDIRNAME_$P}
19 DSTCFGDIR_$P := ${BINDIR_$P}${CFGDIRNAME_$P}
23 CFGS_$P := $(addprefix ${DSTCFGDIR_$P},${CFGS_$P})
25 LIBSDIRNAME_$P := libs/
26 SRCLIBSDIR_$P := ${CURDIR}${LIBSDIRNAME_$P}
28 DSTLIBSDIR_$P := ${BINDIR_$P}
30 DSTLIBSDIR_$P := ${BINDIR_$P}${LIBSDIRNAME_$P}
33 LIBSTXT_$P := # := start
34 LIBSTXT_$P += COPYING-SDL
35 LIBSTXT_$P += README-SDL
36 LIBSTXT_$P += VERSION-SDL
37 LIBSTXT_$P := $(addprefix ${DSTLIBSDIR_$P},${LIBSTXT_$P})
39 LIBSCPY_$P := # := start
42 LIBSCPY_$P += bear.dll
44 LIBSCPY_$P += libSDL-1.2.so.0
45 LIBSCPY_$P += libbear.so.0
47 LIBSCPY_$P := $(addprefix ${DSTLIBSDIR_$P},${LIBSCPY_$P})
49 SRCTXTDIR_$P := ${CURDIR}
50 DSTTXTDIR_$P := ${BINDIR_$P}
54 TXT_$P := $(addprefix ${DSTTXTDIR_$P},${TXT_$P})
57 TARGETNAME_$P := run_physics.exe
59 TARGETNAME_$P := run_physics
61 TARGETTMP_$P := ${OBJSDIR_$P}${TARGETNAME_$P}
62 TARGET_$P := ${BINDIR_$P}${TARGETNAME_$P}