diff options
author | Kushal K S V S <kkushal32@gmail.com> | 2017-07-07 02:23:45 +0530 |
---|---|---|
committer | Kushal K S V S <kkushal32@gmail.com> | 2017-07-07 02:23:45 +0530 |
commit | 4f5f083dc68dc6f0896e8da529590e88101c3c19 (patch) | |
tree | 712aa30f78cb71b26aac34523c955ec67d3dddb1 /tests/make_png/makefile | |
parent | 49c0d825023c69e9731a76bf8b4256dc27a1301d (diff) | |
download | freetype2-4f5f083dc68dc6f0896e8da529590e88101c3c19.tar.gz |
Put it all in tests folderksvsk_test
Diffstat (limited to 'tests/make_png/makefile')
-rw-r--r-- | tests/make_png/makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/make_png/makefile b/tests/make_png/makefile new file mode 100644 index 000000000..691a6fd1b --- /dev/null +++ b/tests/make_png/makefile @@ -0,0 +1,28 @@ +# Define required macros here + +SHELL = /bin/sh + +SRC_HASH = hash_to_file.c bitmap.c murmur3.c +SRC_PNG = make_png.c bitmap.c murmur3.c +OBJS = $(src:.c=.o) + +CFLAGS = -Wall -g +CC = gcc +INCLUDE = -I /usr/local/include/freetype2/ +LIBS = -lfreetype -lpng + +DPI = 72 + +all: png hash + +png:$(SRC_PNG) + $(CC) $(CFLAGS) $(INCLUDE) -DDPI=$(DPI) -o $@ $(SRC_PNG) $(OBJS) $(LIBS) + +hash:$(SRC_HASH) + $(CC) $(CFLAGS) $(INCLUDE) -DDPI=$(DPI) -o $@ $(SRC_HASH) $(OBJS) $(LIBS) + +.PHONY: clean +clean: + -rm -f *.o + + |