[138] | 1 | # |
---|
| 2 | # Framsticks GDK makefile |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | include frams/Makefile-GDK-files |
---|
| 6 | |
---|
[269] | 7 | GDK_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 shapeconvert part_shapes neuro_layout_test geometry_apices_test geometry_info_test geometry_surface_test geometry_volume_test |
---|
[138] | 8 | |
---|
| 9 | gdk_tests: $(GDK_TESTS) |
---|
| 10 | |
---|
| 11 | GDK_BUILD_CONFIG= -include frams/config/gdk_build_config.h |
---|
[269] | 12 | CXXFLAGS= -I$(CURDIR) -std=gnu++11 -DLINUX $(GDK_BUILD_CONFIG) -Wno-parentheses -Wno-overloaded-virtual -Wno-format -g |
---|
[138] | 13 | |
---|
| 14 | ############################################# |
---|
| 15 | |
---|
| 16 | gdk_test: $(GDK_TEST_OBJS) |
---|
[247] | 17 | $(CXX) $(GDK_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 18 | |
---|
| 19 | genoconv_test: $(GENOCONV_TEST_OBJS) |
---|
[247] | 20 | $(CXX) $(GENOCONV_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 21 | |
---|
| 22 | geno_test: $(GENO_TEST_OBJS) |
---|
[247] | 23 | $(CXX) $(GENO_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 24 | |
---|
[194] | 25 | genooper_test: $(GENOOPER_TEST_OBJS) |
---|
[247] | 26 | $(CXX) $(GENOOPER_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[194] | 27 | |
---|
| 28 | genooper_test_fTest: $(GENOOPER_TEST_FTEST_OBJS) |
---|
[247] | 29 | $(CXX) $(GENOOPER_TEST_FTEST_OBJS) $(LDFLAGS) -o $@ |
---|
[194] | 30 | |
---|
[138] | 31 | neuro_test: $(NEURO_TEST_OBJS) |
---|
[247] | 32 | $(CXX) $(NEURO_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 33 | |
---|
| 34 | loader_test: $(LOADER_TEST_OBJS) |
---|
[247] | 35 | $(CXX) $(LOADER_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 36 | |
---|
| 37 | serial_test: $(SERIAL_TEST_OBJS) |
---|
[247] | 38 | $(CXX) $(SERIAL_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 39 | |
---|
| 40 | multiline_f0_test: $(MULTILINE_F0_OBJS) |
---|
[247] | 41 | $(CXX) $(MULTILINE_F0_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 42 | |
---|
| 43 | f0_variants_test: $(F0_VARIANTS_OBJS) |
---|
[247] | 44 | $(CXX) $(F0_VARIANTS_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 45 | |
---|
| 46 | full_props: $(FULL_PROPS_OBJS) |
---|
[247] | 47 | $(CXX) $(FULL_PROPS_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 48 | |
---|
[269] | 49 | shapeconvert: $(SHAPECONVERT_OBJS) |
---|
| 50 | $(CXX) $(SHAPECONVERT_OBJS) $(LDFLAGS) -o $@ |
---|
| 51 | |
---|
[138] | 52 | part_shapes: $(PART_SHAPES_OBJS) |
---|
[247] | 53 | $(CXX) $(PART_SHAPES_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 54 | |
---|
| 55 | neuro_layout_test: $(NEURO_LAYOUT_TEST_OBJS) |
---|
[247] | 56 | $(CXX) $(NEURO_LAYOUT_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[138] | 57 | |
---|
[191] | 58 | geometry_apices_test: $(GEOMETRY_APICES_TEST_OBJS) |
---|
[247] | 59 | $(CXX) $(GEOMETRY_APICES_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 60 | |
---|
| 61 | geometry_info_test: $(GEOMETRY_INFO_TEST_OBJS) |
---|
[247] | 62 | $(CXX) $(GEOMETRY_INFO_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 63 | |
---|
| 64 | geometry_surface_test: $(GEOMETRY_SURFACE_TEST_OBJS) |
---|
[247] | 65 | $(CXX) $(GEOMETRY_SURFACE_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 66 | |
---|
| 67 | geometry_volume_test: $(GEOMETRY_VOLUME_TEST_OBJS) |
---|
[247] | 68 | $(CXX) $(GEOMETRY_VOLUME_TEST_OBJS) $(LDFLAGS) -o $@ |
---|
[191] | 69 | |
---|
[194] | 70 | |
---|
[138] | 71 | ############################################# |
---|
| 72 | |
---|
[191] | 73 | ALL_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) |
---|
[138] | 74 | |
---|
| 75 | include frams/Makefile-maintain |
---|
| 76 | |
---|
| 77 | full_clean: clean |
---|
| 78 | rm -f $(GDK_TESTS) |
---|