source: cpp/frams/Makefile-SDK @ 330

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

Compiles under cygwin; enabled warnings

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1#
2# Framsticks SDK makefile
3#
4
5include frams/Makefile-SDK-files
6
7SDK_TESTS=genoconv_test genomanipulation geno_test genooper_test genooper_test_fTest neuro_test loader_test loader_test_param serial_test multiline_f0_test f0_variants_test full_props shapeconvert part_shapes neuro_layout_test geometry_apices_test geometry_info_test geometry_surface_test geometry_volume_test
8
9sdk_tests: $(SDK_TESTS)
10
11CXXWARNINGS=-Wall -Wno-parentheses -Wno-overloaded-virtual -Wno-format -Werror=return-type
12
13SDK_BUILD_CONFIG= -include frams/config/sdk_build_config.h
14CXXFLAGS= -I$(CURDIR) -std=gnu++11 $(SDK_BUILD_CONFIG) $(CXXWARNINGS) -g
15
16#############################################
17
18genomanipulation: $(GENOMANIPULATION_OBJS)
19        $(CXX) $(GENOMANIPULATION_OBJS) $(LDFLAGS) -o $@
20
21genoconv_test: $(GENOCONV_TEST_OBJS)
22        $(CXX) $(GENOCONV_TEST_OBJS) $(LDFLAGS) -o $@
23
24geno_test: $(GENO_TEST_OBJS)
25        $(CXX) $(GENO_TEST_OBJS) $(LDFLAGS) -o $@
26
27genooper_test: $(GENOOPER_TEST_OBJS)
28        $(CXX) $(GENOOPER_TEST_OBJS) $(LDFLAGS) -o $@
29
30genooper_test_fTest: $(GENOOPER_TEST_FTEST_OBJS)
31        $(CXX) $(GENOOPER_TEST_FTEST_OBJS) $(LDFLAGS) -o $@
32
33neuro_test: $(NEURO_TEST_OBJS)
34        $(CXX) $(NEURO_TEST_OBJS) $(LDFLAGS) -o $@
35
36loader_test: $(LOADER_TEST_OBJS)
37        $(CXX) $(LOADER_TEST_OBJS) $(LDFLAGS) -o $@
38
39loader_test_param: $(LOADER_TEST_PARAM_OBJS)
40        $(CXX) $(LOADER_TEST_PARAM_OBJS) $(LDFLAGS) -o $@
41
42serial_test: $(SERIAL_TEST_OBJS)
43        $(CXX) $(SERIAL_TEST_OBJS) $(LDFLAGS) -o $@
44
45multiline_f0_test: $(MULTILINE_F0_OBJS)
46        $(CXX) $(MULTILINE_F0_OBJS) $(LDFLAGS) -o $@
47
48f0_variants_test: $(F0_VARIANTS_OBJS)
49        $(CXX) $(F0_VARIANTS_OBJS) $(LDFLAGS) -o $@
50
51full_props: $(FULL_PROPS_OBJS)
52        $(CXX) $(FULL_PROPS_OBJS) $(LDFLAGS) -o $@
53
54shapeconvert: $(SHAPECONVERT_OBJS)
55        $(CXX) $(SHAPECONVERT_OBJS) $(LDFLAGS) -o $@
56
57part_shapes: $(PART_SHAPES_OBJS)
58        $(CXX) $(PART_SHAPES_OBJS) $(LDFLAGS) -o $@
59
60neuro_layout_test: $(NEURO_LAYOUT_TEST_OBJS)
61        $(CXX) $(NEURO_LAYOUT_TEST_OBJS) $(LDFLAGS) -o $@
62
63geometry_apices_test: $(GEOMETRY_APICES_TEST_OBJS)
64        $(CXX) $(GEOMETRY_APICES_TEST_OBJS) $(LDFLAGS) -o $@
65
66geometry_info_test: $(GEOMETRY_INFO_TEST_OBJS)
67        $(CXX) $(GEOMETRY_INFO_TEST_OBJS) $(LDFLAGS) -o $@
68
69geometry_surface_test: $(GEOMETRY_SURFACE_TEST_OBJS)
70        $(CXX) $(GEOMETRY_SURFACE_TEST_OBJS) $(LDFLAGS) -o $@
71
72geometry_volume_test: $(GEOMETRY_VOLUME_TEST_OBJS)
73        $(CXX) $(GEOMETRY_VOLUME_TEST_OBJS) $(LDFLAGS) -o $@
74
75
76#############################################
77
78ALL_OBJS=$(GENOMANIPULATION_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)
79
80include frams/Makefile-maintain
81
82full_clean: clean
83        rm -f $(SDK_TESTS)
Note: See TracBrowser for help on using the repository browser.