[138] | 1 | # |
---|
[288] | 2 | # Framsticks SDK makefile |
---|
[138] | 3 | # |
---|
| 4 | |
---|
[288] | 5 | include frams/Makefile-SDK-files |
---|
[138] | 6 | |
---|
[351] | 7 | SDK_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 simil_test simil_unittests |
---|
[138] | 8 | |
---|
[288] | 9 | sdk_tests: $(SDK_TESTS) |
---|
[138] | 10 | |
---|
[318] | 11 | CXXWARNINGS=-Wall -Wno-parentheses -Wno-overloaded-virtual -Wno-format -Werror=return-type |
---|
| 12 | |
---|
[288] | 13 | SDK_BUILD_CONFIG= -include frams/config/sdk_build_config.h |
---|
[318] | 14 | CXXFLAGS= -I$(CURDIR) -std=gnu++11 $(SDK_BUILD_CONFIG) $(CXXWARNINGS) -g |
---|
[138] | 15 | |
---|
| 16 | ############################################# |
---|
| 17 | |
---|
[288] | 18 | genomanipulation: $(GENOMANIPULATION_OBJS) |
---|
| 19 | $(CXX) $(GENOMANIPULATION_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 20 | |
---|
| 21 | genoconv_test: $(GENOCONV_TEST_OBJS) |
---|
[247] | 22 | $(CXX) $(GENOCONV_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 23 | |
---|
| 24 | geno_test: $(GENO_TEST_OBJS) |
---|
[247] | 25 | $(CXX) $(GENO_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 26 | |
---|
[194] | 27 | genooper_test: $(GENOOPER_TEST_OBJS) |
---|
[247] | 28 | $(CXX) $(GENOOPER_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[194] | 29 | |
---|
| 30 | genooper_test_fTest: $(GENOOPER_TEST_FTEST_OBJS) |
---|
[247] | 31 | $(CXX) $(GENOOPER_TEST_FTEST_OBJS) $(LDFLAGS) -o $@ |
---|
[194] | 32 | |
---|
[138] | 33 | neuro_test: $(NEURO_TEST_OBJS) |
---|
[247] | 34 | $(CXX) $(NEURO_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 35 | |
---|
| 36 | loader_test: $(LOADER_TEST_OBJS) |
---|
[247] | 37 | $(CXX) $(LOADER_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 38 | |
---|
[307] | 39 | loader_test_param: $(LOADER_TEST_PARAM_OBJS) |
---|
| 40 | $(CXX) $(LOADER_TEST_PARAM_OBJS) $(LDFLAGS) -o $@ |
---|
| 41 | |
---|
[138] | 42 | serial_test: $(SERIAL_TEST_OBJS) |
---|
[247] | 43 | $(CXX) $(SERIAL_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 44 | |
---|
| 45 | multiline_f0_test: $(MULTILINE_F0_OBJS) |
---|
[247] | 46 | $(CXX) $(MULTILINE_F0_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 47 | |
---|
| 48 | f0_variants_test: $(F0_VARIANTS_OBJS) |
---|
[247] | 49 | $(CXX) $(F0_VARIANTS_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 50 | |
---|
| 51 | full_props: $(FULL_PROPS_OBJS) |
---|
[247] | 52 | $(CXX) $(FULL_PROPS_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 53 | |
---|
[269] | 54 | shapeconvert: $(SHAPECONVERT_OBJS) |
---|
| 55 | $(CXX) $(SHAPECONVERT_OBJS) $(LDFLAGS) -o $@ |
---|
| 56 | |
---|
[138] | 57 | part_shapes: $(PART_SHAPES_OBJS) |
---|
[247] | 58 | $(CXX) $(PART_SHAPES_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 59 | |
---|
| 60 | neuro_layout_test: $(NEURO_LAYOUT_TEST_OBJS) |
---|
[247] | 61 | $(CXX) $(NEURO_LAYOUT_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 62 | |
---|
[191] | 63 | geometry_apices_test: $(GEOMETRY_APICES_TEST_OBJS) |
---|
[247] | 64 | $(CXX) $(GEOMETRY_APICES_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 65 | |
---|
| 66 | geometry_info_test: $(GEOMETRY_INFO_TEST_OBJS) |
---|
[247] | 67 | $(CXX) $(GEOMETRY_INFO_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 68 | |
---|
| 69 | geometry_surface_test: $(GEOMETRY_SURFACE_TEST_OBJS) |
---|
[247] | 70 | $(CXX) $(GEOMETRY_SURFACE_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 71 | |
---|
| 72 | geometry_volume_test: $(GEOMETRY_VOLUME_TEST_OBJS) |
---|
[247] | 73 | $(CXX) $(GEOMETRY_VOLUME_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 74 | |
---|
[349] | 75 | simil_test: $(SIMIL_TEST_OBJS) |
---|
| 76 | $(CXX) $(SIMIL_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
| 77 | |
---|
[351] | 78 | simil_unittests: $(SIMIL_UNITTESTS_OBJS) |
---|
| 79 | $(CXX) $(SIMIL_UNITTESTS_OBJS) $(LDFLAGS) -o $@ |
---|
[194] | 80 | |
---|
[138] | 81 | ############################################# |
---|
| 82 | |
---|
[351] | 83 | ALL_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) $(SIMIL_TEST_OBJS) $(SIMIL_UNITTESTS_OBJS) |
---|
[138] | 84 | |
---|
[365] | 85 | include common/Makefile-maintain |
---|
[138] | 86 | |
---|
| 87 | full_clean: clean |
---|
[288] | 88 | rm -f $(SDK_TESTS) |
---|