diff --git a/src/gnome/Makefile b/src/gnome/Makefile index 16f783da60..ae64de7fa9 100644 --- a/src/gnome/Makefile +++ b/src/gnome/Makefile @@ -48,13 +48,13 @@ INCLPATH = -I/usr/include \ # where gtk's installed and is supposed to report the compiler # options needed for the build. -CFLAGS := $(shell gtk-config -cflags) -g -Wall +CFLAGS := $(shell gtk-config --cflags) -g -Wall LFLAGS := -g -Wall # LIBS = -lXpm -lXm -lXmu -lXt -lXext -lSM -lICE -lX11 -lpng -ljpeg -lz -lm # LIBS = -lgtk -lgdk -lglib -lXpm -lXext -lXmu -lXt -lXext \ # -lSM -lICE -lX11 -lpng -ljpeg -lz -lm -LIBS := $(shell gtk-config -libs) +LIBS := $(shell gtk-config --libs) LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib/. TARGET = ../../xacc.gtk.bin diff --git a/src/gnome/Makefile.in b/src/gnome/Makefile.in index 85a83a71f3..bf74828da1 100644 --- a/src/gnome/Makefile.in +++ b/src/gnome/Makefile.in @@ -48,13 +48,13 @@ INCLPATH = -I/usr/include \ # where gtk's installed and is supposed to report the compiler # options needed for the build. -CFLAGS := $(shell gtk-config -cflags) @cflags@ +CFLAGS := $(shell gtk-config --cflags) @cflags@ LFLAGS := @lflags@ # LIBS = @LIBS@ # LIBS = -lgtk -lgdk -lglib -lXpm -lXext -lXmu -lXt -lXext \ # -lSM -lICE -lX11 -lpng -ljpeg -lz -lm -LIBS := $(shell gtk-config -libs) +LIBS := $(shell gtk-config --libs) LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib -L@x_libraries@/. TARGET = ../../xacc.gtk.bin