aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4e7b8d1715..e931aab581 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,19 @@ tests: $(TESTS_OBJS) out/libskia.a
##############################################################################
+SKIMAGE_SRCS := skimage_main.cpp
+
+SKIMAGE_SRCS := $(addprefix tools/, $(SKIMAGE_SRCS))
+
+SKIMAGE_OBJS := $(SKIMAGE_SRCS:.cpp=.o)
+SKIMAGE_OBJS := $(addprefix out/, $(SKIMAGE_OBJS))
+
+skimage: $(SKIMAGE_OBJS) out/libskia.a
+ @echo "linking skimage..."
+ $(HIDE)g++ $(SKIMAGE_OBJS) out/libskia.a -o out/tools/skimage $(LINKER_OPTS)
+
+##############################################################################
+
.PHONY: clean
clean:
$(HIDE)rm -rf out
@@ -132,6 +145,7 @@ help:
@echo "Targets:"
@echo " <default>: out/libskia.a"
@echo " bench: out/bench/bench"
+ @echo " skimage: out/tools/skimage"
@echo " tests: out/tests/tests"
@echo " clean: removes entire out/ directory"
@echo " help: this text"