From 95b198a5aaa3dfa6b20eab9a7d8b82d7dc14eafa Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 25 Jan 2021 14:55:13 +0100 Subject: Gerber and SVG export working --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 062c50e..a835928 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit