--- Makefile.orig 2005-11-13 01:45:34.000000000 -0500 +++ Makefile 2005-11-13 01:46:34.000000000 -0500 @@ -1,5 +1,5 @@ -CC = gcc -CFLAGS = -O2 -g `gtk-config --cflags` +CC ?= gcc +CFLAGS += `gtk-config --cflags` LIBS = `gtk-config --libs` LIBPATH = -L/usr/X11R6/lib OBJECTS = ui.o net.o misc.o widgets.o configfile.o queue.o sort.o @@ -26,3 +26,6 @@ gtkfxp: $(OBJECTS) $(CC) $(CFLAGS) -o gtkfxp $(OBJECTS) $(LIBS) $(LIBPATH) +install: + install -m 0755 -d $(DESTDIR)/usr/bin + install -m 0755 gtkfxp $(DESTDIR)/usr/bin