source: cpp/frams/Makefile-GDK @ 247

Last change on this file since 247 was 247, checked in by Maciej Komosinski, 10 years ago

Sources support both 32-bit and 64-bit, and more compilers

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1#
2# Framsticks GDK makefile
3#
4
5include frams/Makefile-GDK-files
6
7GDK_TESTS=genoconv_test gdk_test geno_test genooper_test genooper_test_fTest neuro_test loader_test serial_test multiline_f0_test f0_variants_test full_props part_shapes neuro_layout_test geometry_apices_test geometry_info_test geometry_surface_test geometry_volume_test
8
9gdk_tests: $(GDK_TESTS)
10
11GDK_BUILD_CONFIG= -include frams/config/gdk_build_config.h
12CXXFLAGS= -I$(CURDIR) -DLINUX $(GDK_BUILD_CONFIG) -Wno-parentheses -Wno-overloaded-virtual -Wno-format -g
13
14#############################################
15
16gdk_test: $(GDK_TEST_OBJS)
17        $(CXX) $(GDK_TEST_OBJS) $(LDFLAGS) -o $@
18
19genoconv_test: $(GENOCONV_TEST_OBJS)
20        $(CXX) $(GENOCONV_TEST_OBJS) $(LDFLAGS) -o $@
21
22geno_test: $(GENO_TEST_OBJS)
23        $(CXX) $(GENO_TEST_OBJS) $(LDFLAGS) -o $@
24
25genooper_test: $(GENOOPER_TEST_OBJS)
26        $(CXX) $(GENOOPER_TEST_OBJS) $(LDFLAGS) -o $@
27
28genooper_test_fTest: $(GENOOPER_TEST_FTEST_OBJS)
29        $(CXX) $(GENOOPER_TEST_FTEST_OBJS) $(LDFLAGS) -o $@
30
31neuro_test: $(NEURO_TEST_OBJS)
32        $(CXX) $(NEURO_TEST_OBJS) $(LDFLAGS) -o $@
33
34loader_test: $(LOADER_TEST_OBJS)
35        $(CXX) $(LOADER_TEST_OBJS) $(LDFLAGS) -o $@
36
37serial_test: $(SERIAL_TEST_OBJS)
38        $(CXX) $(SERIAL_TEST_OBJS) $(LDFLAGS) -o $@
39
40multiline_f0_test: $(MULTILINE_F0_OBJS)
41        $(CXX) $(MULTILINE_F0_OBJS) $(LDFLAGS) -o $@
42
43f0_variants_test: $(F0_VARIANTS_OBJS)
44        $(CXX) $(F0_VARIANTS_OBJS) $(LDFLAGS) -o $@
45
46full_props: $(FULL_PROPS_OBJS)
47        $(CXX) $(FULL_PROPS_OBJS) $(LDFLAGS) -o $@
48
49part_shapes: $(PART_SHAPES_OBJS)
50        $(CXX) $(PART_SHAPES_OBJS) $(LDFLAGS) -o $@
51
52neuro_layout_test: $(NEURO_LAYOUT_TEST_OBJS)
53        $(CXX) $(NEURO_LAYOUT_TEST_OBJS) $(LDFLAGS) -o $@
54
55geometry_apices_test: $(GEOMETRY_APICES_TEST_OBJS)
56        $(CXX) $(GEOMETRY_APICES_TEST_OBJS) $(LDFLAGS) -o $@
57
58geometry_info_test: $(GEOMETRY_INFO_TEST_OBJS)
59        $(CXX) $(GEOMETRY_INFO_TEST_OBJS) $(LDFLAGS) -o $@
60
61geometry_surface_test: $(GEOMETRY_SURFACE_TEST_OBJS)
62        $(CXX) $(GEOMETRY_SURFACE_TEST_OBJS) $(LDFLAGS) -o $@
63
64geometry_volume_test: $(GEOMETRY_VOLUME_TEST_OBJS)
65        $(CXX) $(GEOMETRY_VOLUME_TEST_OBJS) $(LDFLAGS) -o $@
66
67
68#############################################
69
70ALL_OBJS=$(GDK_TEST_OBJS) $(GENOCONV_TEST_OBJS) $(GENO_TEST_OBJS) $(NEURO_TEST_OBJS) $(LOADER_TEST_OBJS) $(SERIAL_TEST_OBJS) $(MULTILINE_F0_OBJS) $(F0_VARIANTS_OBJS) $(FULL_PROPS_OBJS) $(PART_SHAPES_OBJS) $(NEURO_LAYOUT_TEST_OBJS) $(GENOOPER_TEST_OBJS) $(GEOMETRY_APICES_TEST_OBJS) $(GEOMETRY_INFO_TEST_OBJS) $(GEOMETRY_SURFACE_TEST_OBJS) $(GEOMETRY_VOLUME_TEST_OBJS)
71
72include frams/Makefile-maintain
73
74full_clean: clean
75        rm -f $(GDK_TESTS)
Note: See TracBrowser for help on using the repository browser.