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/makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/make_png/makefile b/tests/make_png/makefile
new file mode 100644
index 000000000..d60a6d685
--- /dev/null
+++ b/tests/make_png/makefile
@@ -0,0 +1,22 @@
+# Define required macros here
+
+SHELL = /bin/sh
+
+SRC = hash_to_file.c bitmap.c murmur3.c
+OBJS = $(src:.c=.o)
+
+CFLAGS = -Wall -g
+CC = gcc
+INCLUDE = -I /usr/local/include/freetype2/
+LIBS = -lfreetype
+
+DPI = 72
+
+hash:$(SRC)
+ $(CC) $(CFLAGS) $(INCLUDE) -DDPI=$(DPI) -o $@ $(SRC) $(OBJS) $(LIBS)
+
+.PHONY: clean
+clean:
+ -rm -f *.o
+
+