File: GNUMakefile

package info (click to toggle)
gbdfed 1.6-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,376 kB
  • sloc: ansic: 42,701; makefile: 214; sh: 23
file content (78 lines) | stat: -rw-r--r-- 2,060 bytes parent folder | download | duplicates (3)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
CC = gcc
CFLAGS = -Wall -g
DEFS = -DHAVE_XLIB -DHAVE_HBF -DHAVE_FREETYPE
	
	
INCS = -I. `pkg-config gtk+-2.0 --cflags freetype2 --cflags`
LIBS = `pkg-config gtk+-2.0 --libs freetype2 --libs`

HBF=

SRCS = bdf.c bdfcons.c bdffnt.c bdfgname.c bdfgrab.c bdfgrid.c bdfotf.c \
       bdfpkgf.c bdfpsf.c $(HBF) \
       labcon.c \
       grayswatch.c \
       glyphedit.c \
       glyphtest.c \
       fontgrid.c \
       gectrl.c \
       gbdfed.c \
       guiedit.c \
       guigedit.c \
       guifile.c \
       guihelp.c \
       guiops.c \
       guipref.c \
       guiutil.c

OBJS = $(SRCS:%.c=%.o)

all: gbdfed

gbdfed: $(OBJS)
	$(CC) $(STATIC) $(CFLAGS) $(OBJS) -o gbdfed $(LIBS)

.c.o:
	$(CC) $(CFLAGS) $(DEFS) $(INCS) -c $< -o $@

clean:
	/bin/rm -f *~ *BAK *CKP *.o

distclean: clean
	/bin/rm -f gbdfed

realclean: distclean

deps:
	gcc -I. -MM $(SRCS) > deps

#
# Dependencies.
#
bdf.o: bdf.c bdfP.h bdf.h
bdfcons.o: bdfcons.c bdfP.h bdf.h
bdffnt.o: bdffnt.c bdfP.h bdf.h
bdfgname.o: bdfgname.c bdfP.h bdf.h
bdfgrab.o: bdfgrab.c bdfP.h bdf.h
bdfgrid.o: bdfgrid.c bdfP.h bdf.h
bdfotf.o: bdfotf.c
bdfpkgf.o: bdfpkgf.c bdfP.h bdf.h
bdfpsf.o: bdfpsf.c bdfP.h bdf.h
hbf.o: hbf.c hbf.h
labcon.o: labcon.c labcon.h
grayswatch.o: grayswatch.c grayswatch.h
glyphedit.o: glyphedit.c glyphedit.h bdfP.h bdf.h
glyphtest.o: glyphtest.c glyphtest.h bdfP.h bdf.h
fontgrid.o: fontgrid.c fontgrid.h bdfP.h bdf.h
gectrl.o: gectrl.c gectrl.h bdfP.h bdf.h gectrlbmaps.h
gbdfed.o: gbdfed.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h labcon.h
guiedit.o: guiedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h \
  labcon.h
guigedit.o: guigedit.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h \
  glyphedit.h labcon.h gectrl.h
guifile.o: guifile.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h \
  labcon.h
guihelp.o: guihelp.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h htext.h
guiops.o: guiops.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
guipref.o: guipref.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h
guiutil.o: guiutil.c gbdfed.h bdf.h fontgrid.h bdfP.h glyphtest.h