aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-04-24 19:52:53 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-04-24 19:52:53 +0000
commitaf459795e393dabd8ea02afade5609935c0d9509 (patch)
treeb797c7c960d3434e88ccab02905f7f172e96103b /Makefile
parent543ed9352c7dfd93071c08b14930cca2e82a08d4 (diff)
add skiamge (in tools/) that decodes and encodes images
git-svn-id: http://skia.googlecode.com/svn/trunk@160 2bbb7eff-a529-9590-31e7-b0007b416f81
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"