--- Makefile.orig Sun Feb 6 15:26:12 2000 +++ Makefile Wed Feb 21 05:03:13 2001 @@ -1,22 +1,24 @@ # You will need to specify the absolute path if gnome-config is not in # your path or if the one in your path is not the correct one -GNOME_CONFIG = gnome-config +GNOME_CONFIG ?= gnome-config # This should be set to where aspell was installed the default is # /usr/local -ASPELL_PREFIX = /usr/local +ASPELL_PREFIX = ${LOCALBASE} -CXX = g++ -CXXFLAGS = -O2 -g +CXX ?= g++ +CXXFLAGS ?= -O2 -g # You should not need to modify anything below this comment -VERSION = .29 +VERSION = .30 INCLUDES = -I$(ASPELL_PREFIX)/include `$(GNOME_CONFIG) --cflags gnomeui` \ - -D VERSION=\"$(VERSION)\" + -DVERSION=\"$(VERSION)\" LIBS = -L$(ASPELL_PREFIX)/lib -laspell `$(GNOME_CONFIG) --libs gnomeui` + +all: gaspell gaspell: gaspell.o DICTClient.o $(CXX) gaspell.o DICTClient.o $(LIBS) -o gaspell