diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,5 @@ -CXX := clang +CXX := clang++ LD := ld PKG_CONFIG ?= pkg-config @@ -12,14 +12,19 @@ SOURCES := src/svg_color.cpp \ src/svg_path.cpp \ src/svg_pattern.cpp \ src/vec_core.cpp \ - src/vec_grid.cpp + src/vec_grid.cpp \ + src/main.cpp \ + src/out_svg.cpp \ + src/out_gerber.cpp \ + src/lambda_sink.cpp \ CLIPPER_SOURCES := upstream/clipper-6.4.2/cpp/clipper.cpp upstream/clipper-6.4.2/cpp/cpp_cairo/cairo_clipper.cpp CLIPPER_INCLUDES := -Iupstream/clipper-6.4.2/cpp -Iupstream/clipper-6.4.2/cpp/cpp_cairo/ VORONOI_INCLUDES := -Iupstream/voronoi/src POISSON_INCLUDES := -Iupstream/poisson-disk-sampling/thinks/poisson_disk_sampling/ BASE64_INCLUDES := -Iupstream/cpp-base64 -INCLUDES := $(CLIPPER_INCLUDES) $(VORONOI_INCLUDES) $(POISSON_INCLUDES) $(BASE64_INCLUDES) +ARGAGG_INCLUDES := -Iupstream/argagg/include/argagg +INCLUDES := -Iinclude -Isrc $(CLIPPER_INCLUDES) $(VORONOI_INCLUDES) $(POISSON_INCLUDES) $(BASE64_INCLUDES) $(ARGAGG_INCLUDES) CXXFLAGS := -std=c++2a -g -Wall -Wextra CXXFLAGS += $(shell $(PKG_CONFIG) --cflags pangocairo pugixml opencv4) |