--- Makefile.orig Thu Apr 20 01:50:18 2000 +++ Makefile Thu Apr 20 01:50:39 2000 @@ -12,7 +12,7 @@ # defaults: PGM = lame CC = gcc -CC_OPTS = -O +CC_OPTS = ${CFLAGS} GTK = GTKLIBS = SNDLIB = -DLAMESNDFILE @@ -136,8 +136,10 @@ ########################################################################## ifeq ($(UNAME),FreeBSD) # remove if you do not have GTK or do not want the GTK frame analyzer +ifndef WITHOUT_X11 GTK = -DHAVEGTK `gtk12-config --cflags` GTKLIBS = `gtk12-config --libs` +endif # Comment out next 2 lines if you want to remove VBR histogram capability BRHIST_SWITCH = -DBRHIST LIBTERMCAP = -lncurses