Generate callgraph

This commit is contained in:
Michael Hayes
2011-08-27 01:46:08 +00:00
commit 513810e138
233 changed files with 22993 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
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