3 CXXFLAGS_$P := ${G_CXXFLAGS}
4 LNKFLAGS_$P := ${G_LNKFLAGS} -Wl,-rpath,libs/ -rdynamic
5 LIBS_$P := ${G_LIBSDL} ${G_LIBGL}
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/include/
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}
27 ifeq (${G_BUILD},${B_WIN32})
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
40 ifeq (${G_BUILD},${B_WIN32})
43 LIBSCPY_$P += libSDL-1.2.so.0
45 LIBSCPY_$P := $(addprefix ${DSTLIBSDIR_$P},${LIBSCPY_$P})
47 SRCTXTDIR_$P := ${CURDIR}
48 DSTTXTDIR_$P := ${BINDIR_$P}
52 TXT_$P := $(addprefix ${DSTTXTDIR_$P},${TXT_$P})
54 ifeq (${G_BUILD},${B_WIN32})
55 TARGETNAME_$P := run_physics.exe
57 TARGETNAME_$P := run_physics
59 TARGETTMP_$P := ${OBJSDIR_$P}${TARGETNAME_$P}
60 TARGET_$P := ${BINDIR_$P}${TARGETNAME_$P}