diff -Nurd -x'*~' easychem-0.6.orig/Makefile.linux easychem-0.6/Makefile.linux --- easychem-0.6.orig/Makefile.linux 2005-05-04 04:10:07.000000000 -0400 +++ easychem-0.6/Makefile.linux 2007-02-13 00:08:41.000000000 -0500 @@ -1,21 +1,21 @@ # The C compiler CC=gcc -# The following line must be uncommented if you want to specify a place -# where the 'gs' (or 'pstoedit') program is. - -#C_FLAGS="$(C_FLAGS) -DGS_PATH=/opt/bin" -#C_FLAGS="$(C_FLAGS) -DPSTOEDIT_PATH=/opt/bin" - # Here we define the prefix where EasyChem will be installed PREFIX=/usr/local # Optimisation and warning flags C_FLAGS=-Wall -W -Wpointer-arith -O2 -pedantic -std=c99 -DUNIX -DI18N -DPREFIX=\"$(PREFIX)\" +# The following line must be uncommented if you want to specify a place +# where the 'gs' (or 'pstoedit') program is. + +C_FLAGS+=-DGS_PATH=\"$(PREFIX)/bin\" +C_FLAGS+=-DPSTOEDIT_PATH=\"$(PREFIX)/bin\" + # GTK flags and librairies -GTK_FLAGS=`pkg-config --cflags gtk+-2.0` -GTK_LIBS=`pkg-config --libs gtk+-2.0` +GTK_FLAGS=`pkg-config --cflags gtk+-2.0` $(CPPFLAGS) +GTK_LIBS=`pkg-config --libs gtk+-2.0` $(LDFLAGS)