aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/Makefile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-05 23:33:44 +0200
committerjaseg <git@jaseg.de>2021-06-05 23:33:44 +0200
commit4ffb4c65825ab0a5ded00ff799b494097e7bd143 (patch)
tree68791213543bd330a094c67469a1de745c36867a /svg-flatten/Makefile
parentf2f0ac241672bbaac4ccb9eaa369c501951de949 (diff)
downloadgerbolyze-4ffb4c65825ab0a5ded00ff799b494097e7bd143.tar.gz
gerbolyze-4ffb4c65825ab0a5ded00ff799b494097e7bd143.tar.bz2
gerbolyze-4ffb4c65825ab0a5ded00ff799b494097e7bd143.zip
Make svg-flatten auto-search for cargo dependencies in all call sites
Diffstat (limited to 'svg-flatten/Makefile')
-rw-r--r--svg-flatten/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/svg-flatten/Makefile b/svg-flatten/Makefile
index 4a45c7f..6822f47 100644
--- a/svg-flatten/Makefile
+++ b/svg-flatten/Makefile
@@ -26,6 +26,7 @@ SOURCES := src/svg_color.cpp \
src/out_dilater.cpp \
src/lambda_sink.cpp \
src/flatten.cpp \
+ src/util.cpp \
src/nopencv.cpp \
$(UPSTREAM_DIR)/cpp-base64/base64.cpp \
$(UPSTREAM_DIR)/clipper-6.4.2/cpp/clipper.cpp \
@@ -68,7 +69,7 @@ $(BUILDDIR)/$(TARGET): $(SOURCES:%.cpp=$(BUILDDIR)/%.o)
@mkdir -p $(dir $@)
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
-$(BUILDDIR)/nopencv-test: src/test/nopencv_test.cpp src/nopencv.cpp
+$(BUILDDIR)/nopencv-test: src/test/nopencv_test.cpp src/nopencv.cpp src/util.cpp
@mkdir -p $(dir $@)
$(CXX) $(CXXFLAGS) $(INCLUDES) -o $@ $^ $(LDFLAGS)