Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 262945
Collapse All | Expand All

(-)a/Makefile (-5 / +2 lines)
Lines 28-34 Link Here
28
DEBUG=-ggdb
28
DEBUG=-ggdb
29
CXX=g++
29
CXX=g++
30
CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG) $(OPTFLAGS)
30
CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG) $(OPTFLAGS)
31
LDFLAGS=$(FREETYPE_LIB) $(DEBUG)
31
LDLIBS=$(FREETYPE_LIB) -lz
32
32
33
DESTDIR=
33
DESTDIR=
34
PREFIX=/usr
34
PREFIX=/usr
Lines 38-48 Link Here
38
38
39
all: ttmkfdir
39
all: ttmkfdir
40
40
41
.cpp.o:
42
	libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^
43
44
ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o
41
ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o
45
	libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS)
42
	$(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@
46
43
47
parser.cpp: encoding.l
44
parser.cpp: encoding.l
48
	    flex -i -8 -o$@ $<
45
	    flex -i -8 -o$@ $<

Return to bug 262945