summaryrefslogtreecommitdiff
path: root/libs/ode-0.16.1/ode/demo/Makefile.am
blob: 5d02b879f1099ecbbaf9c4531834bc515ce6101d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
AM_CPPFLAGS = -I$(top_srcdir)/include \
        -I$(top_builddir)/include \
        -DDRAWSTUFF_TEXTURE_PATH="\"$(abs_top_srcdir)/drawstuff/textures\""

if X11
AM_LDFLAGS = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS)
endif

# On Windows, GL_LIBS must go after libdrawstuff.la.
LDADD = $(top_builddir)/drawstuff/src/libdrawstuff.la \
        $(top_builddir)/ode/src/libode.la @GL_LIBS@

noinst_HEADERS = basket_geom.h bunny_geom.h convex_bunny_geom.h convex_prism.h \
                 icosahedron_geom.h halton235_geom.h texturepath.h world_geom3.h

AM_DEFAULT_SOURCE_EXT = .cpp

noinst_PROGRAMS = \
                demo_boxstack \
                demo_buggy \
                demo_cards \
                demo_chain1 \
                demo_chain2 \
                demo_collision \
                demo_convex \
                demo_crash \
                demo_cylvssphere \
                demo_dball \
                demo_dhinge \
                demo_transmission \
                demo_feedback \
                demo_friction \
                demo_gyroscopic \
                demo_gyro2 \
                demo_heightfield \
                demo_hinge \
                demo_I \
                demo_jointPR \
                demo_joints \
                demo_jointPU \
                demo_kinematic \
                demo_motion \
                demo_motor \
                demo_ode \
                demo_piston \
                demo_plane2d \
                demo_rfriction \
                demo_slider \
                demo_space \
                demo_space_stress \
                demo_step \
                demo_tracks

demo_chain1_SOURCES = demo_chain1.c
demo_chain1_LDADD = $(LDADD) -lstdc++ 


if TRIMESH
noinst_PROGRAMS += \
                demo_basket \
                demo_cyl \
                demo_moving_trimesh \
                demo_moving_convex \
                demo_trimesh

AM_CPPFLAGS += -DdTRIMESH_ENABLED
endif



if WIN32
resources.o: $(top_srcdir)/drawstuff/src/resources.rc $(top_srcdir)/drawstuff/src/resource.h
	@WINDRES@ $(top_srcdir)/drawstuff/src/resources.rc -o resources.o
LDADD += resources.o
endif