aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-27 15:39:30 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-04-27 15:39:30 +0000
commit4b33d28eb369622964d22d5cc4a6e3f0eb11a14c (patch)
tree274a2022fe9cff040f7eeb43f8c9121f70920619 /Makefile
parent1447c6f7f4579942b32af6ffff1eadede40b42bc (diff)
New 'skdiff' tool to compare two directories full of files, write diff images
into a third directory, and create a summary web page with metrics for easy inspection of the results. git-svn-id: http://skia.googlecode.com/svn/trunk@1200 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fdb6ef5dd2..1d99ad460d 100644
--- a/Makefile
+++ b/Makefile
@@ -222,6 +222,16 @@ skimage: $(SKIMAGE_OBJS) $(LIBSKIA)
##############################################################################
+SKDIFF_SRCS := skdiff_main.cpp
+SKDIFF_SRCS := $(addprefix tools/, $(SKDIFF_SRCS))
+SKDIFF_OBJS := $(SKDIFF_SRCS:.cpp=.o)
+SKDIFF_OBJS := $(addprefix out/, $(SKDIFF_OBJS))
+skdiff: $(SKDIFF_OBJS) out/libskia.a
+ @echo "linking skdiff..."
+ $(HIDE)$(GPP) $(SKDIFF_OBJS) out/libskia.a -o out/tools/skdiff $(LINKER_OPTS)
+
+##############################################################################
+
SKHELLO_SRCS := skhello.cpp
SKHELLO_SRCS := $(addprefix tools/, $(SKHELLO_SRCS))
@@ -252,7 +262,7 @@ gm: $(GM_OBJS) $(LIBSKIA)
##############################################################################
.PHONY: all
-all: $ bench gm skimage tests skhello
+all: $ bench gm skimage tests skhello skdiff
.PHONY: clean
clean: