
# You will need to specify the absolut path in gnome-config is not in 
# your path or if the one in your path is not the correct one
GNOME_CONFIG = gnome-config 

# This should be set to where aspell was installed the default is
# /usr/local
ASPELL_PREFIX = /usr/local

CXX = g++
CXXFLAGS = -g -O2

# You should not need to modify anything below this comment

VERSION = .27

INCLUDES = -I$(ASPELL_PREFIX)/include `$(GNOME_CONFIG) --cflags gnomeui` \
  -D VERSION=\"$(VERSION)\"
LIBS = -L$(ASPELL_PREFIX)/lib -laspell `$(GNOME_CONFIG) --libs gnomeui`

gaspell: gaspell.o
	$(CXX) gaspell.o $(LIBS) -o gaspell

gaspell.o: gaspell.cc
	$(CXX) $(CXXFLAGS) $(INCLUDES) -c gaspell.cc

clean:
	rm -f *~ core gaspell gaspell.o



