forked from huntergdavis/Source-Tree-Visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
103 lines (90 loc) · 2.8 KB
/
Makefile
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
CC = g++
CFLAGS = -c -Wall -W -pthread -std=c++0x
DEBUGFLAGS = -ggdb
INCLUDEFLAGS = -Isrc/dis/stv/dec \
-Isrc/dis/stv/draw \
-Isrc/dis/stv/gen \
-Isrc/dis/stv/io \
-Isrc/dis/stv/main \
-Isrc/dis/stv/physics \
-Isrc/dis/stv/transform \
-Isrc/dis/util \
-I/usr/local/boost \
-I/usr/include/libxml2 \
-I/usr/include/ImageMagick
LDFLAGS = -L/usr/lib \
-Wl,-Bsymbolic-functions \
-L/usr/lib/X11 \
-L/usr/lib \
-lMagick++ \
-lMagickWand \
-lMagickCore \
-llcms \
-ltiff \
-lfreetype \
-ljpeg \
-lXext \
-lSM \
-lICE \
-lX11 \
-lXt \
-lbz2 \
-lz \
-lm \
-lgomp \
-lpthread \
-lcurl \
-lxml2 \
-lltdl
SOURCES = src/dis/stv/system/discursive_error.cpp \
src/dis/stv/system/discursive_debug.cpp \
src/dis/stv/system/discursive_print.cpp \
src/dis/stv/system/discursive_time.cpp \
src/dis/stv/io/repository_access.cpp \
src/dis/stv/io/git_repository_access.cpp \
src/dis/stv/io/svn_remote_repository_access.cpp \
src/dis/stv/io/cvs_remote_repository_access.cpp \
src/dis/stv/io/github_repository_access.cpp \
src/dis/stv/io/filesystem_repository_access.cpp \
src/dis/stv/gen/space_colonizer.cpp \
src/dis/stv/gen/colonization_leader.cpp \
src/dis/stv/gen/digitizer_factory.cpp \
src/dis/stv/gen/trapezoid_blocks.cpp \
src/dis/stv/gen/trapezoid_leader.cpp \
src/dis/stv/draw/scanline_artist.cpp \
src/dis/stv/draw/drawable_data.cpp \
src/dis/stv/draw/drawable_datum.cpp \
src/dis/stv/draw/trapezoid_artist.cpp \
src/dis/stv/dec/spatial_displacement.cpp \
src/dis/stv/dec/decorator_factory.cpp \
src/dis/stv/dec/spatial_displacement_leafless.cpp \
src/dis/stv/dec/spatial_displacement_clustering.cpp \
src/dis/stv/main/simple_tree.cpp \
src/dis/stv/main/initial_agents.cpp \
src/dis/stv/main/configuration_agent.cpp \
src/dis/stv/physics/physical_mass.cpp \
src/dis/stv/physics/physics_engine.cpp \
src/dis/stv/physics/time_stepped_physics_engine.cpp \
src/dis/stv/physics/time_stepped_physics_object.cpp \
src/dis/stv/physics/tree_displacement_node.cpp \
src/dis/stv/physics/unidimensional_spatial_object.cpp \
src/dis/stv/physics/spatial_object.cpp \
src/dis/stv/physics/fixed_attractor.cpp \
src/dis/stv/model/surrogate_tree_node.cpp \
src/dis/stv/transform/property_transformer.cpp \
src/dis/stv/transform/property_inverter.cpp \
src/dis/stv/transform/property_shifter.cpp \
src/dis/stv/transform/transform_factory.cpp \
src/dis/stv/transform/image_magick_transformer.cpp \
src/dis/stv/transform/image_resize_transformer.cpp \
src/dis/util/system_monitor.cpp
OBJECTS = $(SOURCES:.cpp=.o)
EXAMPLEBINARY = bin/tree_gen_example
PROJECTBINARY = bin/simple_tree
all: $(SOURCES) $(PROJECTBINARY)
$(PROJECTBINARY): $(OBJECTS)
$(CC) $(DEBUGFLAGS) $(INCLUDEFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
.cpp.o:
$(CC) $(DEBUGFLAGS) $(CFLAGS) $(INCLUDEFLAGS) $(LDFLAGS) $< -o $@
clean:
rm $(OBJECTS)