diff options
author | jaseg <git@jaseg.de> | 2021-01-25 14:55:13 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-01-25 14:55:13 +0100 |
commit | 95b198a5aaa3dfa6b20eab9a7d8b82d7dc14eafa (patch) | |
tree | bae7b4475bd8093d3b35c4ea9499a869a7c7427c /Makefile | |
parent | f7b4cc602b9a646fbc66f3f17d6bb9c20efc3ead (diff) | |
download | gerbolyze-95b198a5aaa3dfa6b20eab9a7d8b82d7dc14eafa.tar.gz gerbolyze-95b198a5aaa3dfa6b20eab9a7d8b82d7dc14eafa.tar.bz2 gerbolyze-95b198a5aaa3dfa6b20eab9a7d8b82d7dc14eafa.zip |
Gerber and SVG export working
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) |