You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
811 B
25 lines
811 B
diff -Naur a/Makefile b/Makefile
|
|
--- a/Makefile 2015-04-17 13:36:16.000000000 +0200
|
|
+++ b/Makefile 2022-07-10 16:02:05.686255330 +0200
|
|
@@ -11,15 +11,15 @@
|
|
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 -lgdk_pixbuf-2.0 -lgobject-2.0
|
|
+PIXBUF_LIB := -rdynamic -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0
|
|
endif
|
|
|
|
-CC = gcc #-g
|
|
-CFLAGS = -pipe -O2
|
|
-CPPFLAGS = -MMD -ansi -pedantic -Wall
|
|
+CC ?= gcc #-g
|
|
+CFLAGS ?= -pipe -O2
|
|
+CPPFLAGS ?= -MMD -ansi -pedantic -Wall
|
|
INCDIRS = $(PIXBUF_INC)
|
|
DEFINES = -DETCDIR='"$(ETCDIR)"' $(PIXBUF_DEF)
|
|
-LDFLAGS = -s
|
|
+LDFLAGS ?= -s
|
|
LIBDIRS = $(PIXBUF_LIB)
|
|
LDLIBS = -ldockapp -lXpm -lXext -lX11 -lm
|
|
|