freetype2/tests/Makefile

21 lines
370 B
Makefile

TOP_DIR := ..
BUILD_DIR := $(TOP_DIR)/builds/unix
include $(TOP_DIR)/builds/unix/unix-def.mk
SRC_SPRITE = make_sprite.c bitmap.c murmur3.c
CFLAGS = -Wall -g
CC = gcc
INCLUDE = -I $(includedir)/freetype2
LIBS = -lpng -ldl
all: tests
tests: $(SRC_SPRITE)
$(CC) $(CFLAGS) $(INCLUDE) -o $@ $^ $(LIBS)
.PHONY: clean
clean:
-rm -rf *.o html/top.html html/pages tests