diff -uNbr fondu/Makefile.Mac fondu-new/Makefile.Mac --- fondu/Makefile.Mac Sat Dec 21 22:58:25 2002 +++ fondu-new/Makefile.Mac Mon Dec 30 16:28:37 2002 @@ -1,10 +1,13 @@ +prefix=/usr/local +bindir=$(prefix)/bin + CC = cc #WFLAGS = -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -pedantic # the 10.2 (July-2002) developer tools seems to think that all preprocessor # directives are gnu extensions, and -pedantic generates a warning for each # #include, #if, etc. WFLAGS = -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -CFLAGS = -g $(WFLAGS) -D__Mac -I/Developer/Headers/FlatCarbon/ +CFLAGS = -Os $(WFLAGS) -D__Mac -I/Developer/Headers/FlatCarbon/ FONDUOBJS = fondu.o readnfnt.o UFONDOBJS = ufond.o ufondbdf.o ufondpfb.o ufondttf.o crctab.o DFONT2RESOBJS = dfont2res.o crctab.o @@ -14,8 +17,6 @@ #CORE = /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/CarbonCore CORE = /System/Library/Frameworks/CoreServices.framework/CoreServices -bindir = /usr/local/bin - all: fondu ufond showfond dfont2res tobin frombin fondu: $(FONDUOBJS) @@ -43,4 +44,5 @@ -rm Makefile install: all - cp fondu ufond showfond dfont2res tobin frombin $(bindir) + install -d -m 755 $(DESTDIR)$(bindir) + install -c -m 755 fondu ufond showfond dfont2res tobin frombin $(DESTDIR)$(bindir)