--- Makefile.orig	Sat Jul 13 06:24:16 2002
+++ Makefile	Mon Nov 22 06:57:56 2004
@@ -11,19 +11,19 @@
 # Don't change this even if your shell is different. The only reason
 # for changing this is if sh is not in the same place.
 SHELL = /bin/sh
-CC = gcc
-CFLAGS = -g
+CC ?= cc
+#CFLAGS = -g
 
 # Where the executables should be put
-DESTDIR = /usr/local/bin
+DESTDIR = $(PREFIX)/bin
 
 # Where the man page should be put
-MANDIR = /usr/local/man/man6
+MANDIR = $(PREFIX)/share/man/man6
 
 # Where figlet will search first for fonts (the ".flf" files).
-DEFAULTFONTDIR = /usr/local/share/figlet
+DEFAULTFONTDIR = $(PREFIX)/share/figlet
 # Use this definition if you can't put things in /usr/local/share/figlet
-DEFAULTFONTDIR = fonts
+#DEFAULTFONTDIR = fonts
 
 # The filename of the font to be used if no other is specified
 #   (standard.flf is recommended, but any other can be used).
@@ -53,7 +53,9 @@
 
 install: figlet chkfont
 	mkdir -p $(DEFAULTFONTDIR)
+	strip figlet
 	cp figlet $(DESTDIR)
+	strip chkfont
 	cp chkfont $(DESTDIR)
 	cp figlist $(DESTDIR)
 	cp showfigfonts $(DESTDIR)
