blob: 83a70b37141b742422d32215fccb7f799dd0556e (
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
|
CC = gcc
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
bindir = /usr/local/bin
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)
|