2017-08-29 01:56:55 +02:00
|
|
|
TOP_DIR := ..
|
2017-08-09 08:55:00 +02:00
|
|
|
BUILD_DIR := $(TOP_DIR)/builds/unix
|
2017-06-28 07:30:44 +02:00
|
|
|
|
2017-08-09 08:55:00 +02:00
|
|
|
include $(TOP_DIR)/builds/unix/unix-def.mk
|
2017-06-28 07:30:44 +02:00
|
|
|
|
2017-07-14 04:25:51 +02:00
|
|
|
SRC_SPRITE = make_sprite.c bitmap.c murmur3.c
|
|
|
|
|
2017-06-28 07:30:44 +02:00
|
|
|
CFLAGS = -Wall -g
|
|
|
|
CC = gcc
|
2017-08-09 08:55:00 +02:00
|
|
|
INCLUDE = -I $(includedir)/freetype2
|
2017-08-29 09:20:40 +02:00
|
|
|
LIBS = -lpng -ldl
|
2017-06-28 07:30:44 +02:00
|
|
|
|
2017-08-09 08:55:00 +02:00
|
|
|
all: tests
|
2017-06-28 22:29:00 +02:00
|
|
|
|
2017-08-24 13:08:34 +02:00
|
|
|
tests: $(SRC_SPRITE)
|
2017-08-26 12:55:05 +02:00
|
|
|
$(CC) $(CFLAGS) $(INCLUDE) -o $@ $^ $(LIBS)
|
2017-07-14 04:25:51 +02:00
|
|
|
|
2018-03-22 11:51:49 +01:00
|
|
|
.PHONY: clean
|
2017-06-28 07:30:44 +02:00
|
|
|
clean:
|
2018-03-22 11:51:49 +01:00
|
|
|
-rm -rf *.o html/top.html html/pages tests
|