summaryrefslogtreecommitdiff
path: root/Makefile.in
blob: f0dbf33af5ff060dbe27c7b40d269d93d87d43c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@

CC = @CC@

WFLAGS = -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -pedantic
CFLAGS = -g $(WFLAGS)
FONDUOBJS = fondu.o readnfnt.o
UFONDOBJS = ufond.o ufondbdf.o ufondpfb.o ufondttf.o crctab.o
DFONT2RESOBJS = dfont2res.o crctab.o
SHOWOBJS = showfond.o
TOBINOBJS = tomacbinary.o crctab.o
FROMBINOBJS = frommacbinary.o
LUMPEROBJS = lumper.o

all: fondu ufond showfond dfont2res tobin frombin lumper

fondu: $(FONDUOBJS)
	$(CC) $(CFLAGS) -o fondu $(FONDUOBJS)

ufond: $(UFONDOBJS)
	$(CC) $(CFLAGS) -o ufond $(UFONDOBJS)

showfond: $(SHOWOBJS)
	$(CC) $(CFLAGS) -o showfond $(SHOWOBJS)

dfont2res: $(DFONT2RESOBJS)
	$(CC) $(CFLAGS) -o dfont2res $(DFONT2RESOBJS)

tobin: $(TOBINOBJS)
	$(CC) $(CFLAGS) -o tobin $(TOBINOBJS)

frombin: $(FROMBINOBJS)
	$(CC) $(CFLAGS) -o frombin $(FROMBINOBJS)

lumper: $(LUMPEROBJS)
	$(CC) $(CFLAGS) -o lumper $(LUMPEROBJS)

clean:
	-rm -f *.o fondu ufond showfond dfont2res tobin frombin lumper

distclean: clean
	-rm Makefile

install: all
	cp fondu ufond showfond dfont2res tobin frombin lumper $(bindir)