summaryrefslogtreecommitdiff
path: root/tests/make_png/Makefile
diff options
context:
space:
mode:
authorKushal K S V S <kkushal32@gmail.com>2017-08-24 04:08:34 -0700
committerKushal K S V S <kkushal32@gmail.com>2017-08-24 04:08:34 -0700
commit088c73bb9d5ac52e08311f74ff49f74c0f91105c (patch)
tree4b785171cca8dafe36efdb4487ecbbcdc54df1fe /tests/make_png/Makefile
parent3223dc41552c21dd2f1a7769f3c557db63c080f8 (diff)
downloadfreetype2-088c73bb9d5ac52e08311f74ff49f74c0f91105c.tar.gz
Generating Pages and Sprite animation [Testing]kushal-work
Diffstat (limited to 'tests/make_png/Makefile')
-rw-r--r--tests/make_png/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/make_png/Makefile b/tests/make_png/Makefile
index ef5a73424..5e49d58db 100644
--- a/tests/make_png/Makefile
+++ b/tests/make_png/Makefile
@@ -13,20 +13,11 @@ CC = gcc
INCLUDE = -I $(includedir)/freetype2
LIBS = -lpng -lharfbuzz -lbz2 -ldl
-DPI ?= 72
-FT_TEST_RENDER_MODE ?= RGB
-
all: tests
-tests: $(SRC_SPRITE) render_modes dpi
- $(CC) $(CFLAGS) $(INCLUDE) -DDPI=$(DPI) -DFT_TEST_RENDER_MODE=$(FT_TEST_RENDER_MODE) -o $@ $(SRC_SPRITE) $(SRC_LIB) $(OBJS) $(LIBS)
+tests: $(SRC_SPRITE)
+ $(CC) $(CFLAGS) $(INCLUDE) -o $@ $(SRC_SPRITE) $(SRC_LIB) $(OBJS) $(LIBS)
.PHONY: clean force
clean:
-rm -f *.o
-
-render_modes: force
- echo '$(FT_TEST_RENDER_MODE)' | cmp -s - $@ || echo '$(FT_TEST_RENDER_MODE)' > $@
-
-dpi: force
- echo '$(DPI)' | cmp -s - $@ || echo '$(DPI)' > $@ \ No newline at end of file