blob: 193fc8083355ea791ceef0bba9c3ea7d9320072c [file] [log] [blame]
Daniel Stenberg22fd0752004-05-21 16:53:06 +00001ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -I.. -Uunix -H -C -V -LL >$@
2
3SRC := $(wildcard *.t)
4OBJS := $(SRC:%.t=%.shtml)
5
6FSRC := $(wildcard *.bdf)
7FOBJS := $(FSRC:%.bdf=%.fnt) $(FSRC:%.bdf=%.png)
8
9all: bdf2bmp $(OBJS) $(FOBJS)
10
11%.shtml : %.t
12 $(ACTION) $<
13
14%.fnt : %.bdf
15 ../tools/convbdf -s 32 -l 255 -f "$<"
16
17%.png : %.bdf
18 ./bdf2bmp "$<" "$<.bmp"
19 convert "$<.bmp" "$@"
20 rm $<.bmp
21
22convbdf: convbdf.c
23 $(CC) -o "$@" "$<"
24
25clean:
26 rm $(OBJS) $(FOBJS)