summaryrefslogtreecommitdiff
path: root/tests/make_png/Makefile
diff options
context:
space:
mode:
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