summaryrefslogtreecommitdiff
path: root/tests/make_png/makefile
blob: d60a6d685a457b9b76d5fedd67ebd4bc58bb7a55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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