blob: 26a8419ef343c2fbe8ded2d8e76667539b3d4783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
--- 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,14 +19,14 @@
# 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)
|