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.

21 lines
522 B

--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
# Sample Makefile for a GKrellM plugin
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
+PKG_CONFIG ?= pkg-config
+GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags)
+GTK_LIB = $(shell ${PKG_CONFIG} gtk+-2.0 --libs)
FLAGS = -fPIC $(GTK_INCLUDE)
@@ -25,4 +26,4 @@ gkrellmlaunch.so: $(OBJS)
clean:
rm -f *.o core *.so* *.bak *~
-gkrellmlaunch.o: gkrellmlaunch.c
\ No newline at end of file
+gkrellmlaunch.o: gkrellmlaunch.c