added usages of trim to lists
[physics.git] / vars.mk
CommitLineData
6d8ae407
PG
1
2CXX_$P := ${G_CXX}
3CXXFLAGS_$P := ${G_CXXFLAGS}
4LNKFLAGS_$P := ${G_LNKFLAGS} -Wl,-rpath,libs/ -rdynamic
c569b5d1 5LIBS_$P := ${G_LIBSDL} ${G_LIBGL}
6d8ae407
PG
6
7SRCSDIR_$P := ${CURDIR}${G_SRCSDIR}
8DEPSDIR_$P := ${CURDIR}${G_DEPSDIR}
9OBJSDIR_$P := ${CURDIR}${G_OBJSDIR}
10BINDIR_$P := ${CURDIR}${G_BINDIR}
11
12# HACK
481f4f31 13T_INCDIRS_$P := ${SRCSDIR_$P} lib/include/
6d8ae407
PG
14 INCFLAGS_$P := $(addprefix -I, ${T_INCDIRS_$P})
15T_INCDIRS_$P := # empty
16
17CFGDIRNAME_$P := configs/
18SRCCFGDIR_$P := ${CURDIR}${CFGDIRNAME_$P}
19DSTCFGDIR_$P := ${BINDIR_$P}${CFGDIRNAME_$P}
20
21CFGS_$P := # := start
22CFGS_$P += keys.cfg
23CFGS_$P := $(addprefix ${DSTCFGDIR_$P},${CFGS_$P})
24
25LIBSDIRNAME_$P := libs/
26SRCLIBSDIR_$P := ${CURDIR}${LIBSDIRNAME_$P}
30bdde35 27ifeq (${G_BUILD},${B_WIN32})
6d8ae407
PG
28 DSTLIBSDIR_$P := ${BINDIR_$P}
29else
30 DSTLIBSDIR_$P := ${BINDIR_$P}${LIBSDIRNAME_$P}
31endif
32
33LIBSTXT_$P := # := start
34LIBSTXT_$P += COPYING-SDL
35LIBSTXT_$P += README-SDL
36LIBSTXT_$P += VERSION-SDL
37LIBSTXT_$P := $(addprefix ${DSTLIBSDIR_$P},${LIBSTXT_$P})
38
39LIBSCPY_$P := # := start
30bdde35 40ifeq (${G_BUILD},${B_WIN32})
6d8ae407 41 LIBSCPY_$P += SDL.dll
6d8ae407
PG
42else
43 LIBSCPY_$P += libSDL-1.2.so.0
6d8ae407
PG
44endif
45LIBSCPY_$P := $(addprefix ${DSTLIBSDIR_$P},${LIBSCPY_$P})
46
47SRCTXTDIR_$P := ${CURDIR}
48DSTTXTDIR_$P := ${BINDIR_$P}
49
50TXT_$P := # := start
51TXT_$P += COPYING
52TXT_$P := $(addprefix ${DSTTXTDIR_$P},${TXT_$P})
53
30bdde35 54ifeq (${G_BUILD},${B_WIN32})
6d8ae407
PG
55 TARGETNAME_$P := run_physics.exe
56else
57 TARGETNAME_$P := run_physics
58endif
59TARGETTMP_$P := ${OBJSDIR_$P}${TARGETNAME_$P}
60TARGET_$P := ${BINDIR_$P}${TARGETNAME_$P}