diff -ur a/Makefile b/Makefile --- a/Makefile 2002-12-09 10:07:14.000000000 -0600 +++ b/Makefile 2009-03-18 23:23:42.000000000 -0500 @@ -28,7 +28,7 @@ DEBUG=-ggdb CXX=g++ CXXFLAGS=-Wall -pedantic $(FREETYPE_INCL) $(DEBUG) $(OPTFLAGS) -LDFLAGS=$(FREETYPE_LIB) $(DEBUG) +LDLIBS=$(FREETYPE_LIB) -lz DESTDIR= PREFIX=/usr @@ -38,11 +38,8 @@ all: ttmkfdir -.cpp.o: - libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^ - ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o - libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS) + $(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@ parser.cpp: encoding.l flex -i -8 -o$@ $<