You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
CC = gcc
|
|
CFLAGS = -O2 -Wall -W -g
|
|
|
|
FONTDEFS = $(wildcard *.txt)
|
|
FONTS = $(FONTDEFS:.txt=.h)
|
|
|
|
|
|
all: fontgen $(FONTS)
|
|
|
|
|
|
%.h: %.txt fontgen
|
|
./fontgen $(@:.h=) < $^ > $@
|
|
|
|
fontgen: fontgen.c
|
|
$(CC) $(CFLAGS) $< -o $@
|
|
|
|
clean:
|
|
-rm *.o fontgen
|