--- wmmenu/Makefile~ 2002-03-23 07:51:36 -0500 +++ wmmenu/Makefile 2004-12-16 19:44:36 -0500 @@ -4,7 +4,7 @@ ETCDIR = $(prefix)/etc # comment out both lines to get the old, Xpm-only, version -GDKPIXBUF = 1 +#GDKPIXBUF = 1 #GDKPIXBUF2 = 1 XROOT = /usr/X11R6 @@ -19,17 +19,17 @@ # If you want to use gdk-pixbuf-2.0, pass GDKPIXBUF2=1 to make command ifdef GDKPIXBUF2 -PIXBUF_CFG = /opt/gtk2/bin/pkg-config gdk-pixbuf-xlib-2.0 +PIXBUF_CFG = pkg-config gdk-pixbuf-xlib-2.0 PIXBUF_DEF = -DWITH_GDKPIXBUF PIXBUF_INC := $(shell $(PIXBUF_CFG) --cflags) PIXBUF_LIB := -rdynamic -L$(shell $(PIXBUF_CFG) --variable=prefix)/lib -lgdk_pixbuf_xlib-2.0 endif CC = gcc #-g -CFLAGS = -pipe $(CPPFLAGS) -O2 +CFLAGS = $(CPPFLAGS) ${EXTRACFLAGS} CPPFLAGS = -MMD -ansi -pedantic -Wall $(INCDIRS) $(DEFINES) INCDIRS = -I$(DAROOT)/include -I$(XROOT)/include $(PIXBUF_INC) DEFINES = -DETCDIR='"$(ETCDIR)"' $(PIXBUF_DEF) -LDFLAGS = -s +#LDFLAGS = -s LIBDIRS = -L$(DAROOT)/lib -L$(XROOT)/lib $(PIXBUF_LIB) LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm