
inc = -I. 
lib = -lexpat

CFLAGS = 
CPPFLAGS = $(inc) 
LDFLAGS = $(lib)
HOBJS = FileLogger.o ProbModelPPM.o ../DasherCore/Alphabet.o ../DasherCore/AlphabetMap.o ../DasherCore/AlphIO.o ../DasherCore/ColourIO.o ../DasherCore/CustomAlphabet.o ../DasherCore/CustomColours.o ../DasherCore/DasherInterface.o ../DasherCore/DasherModel.o ../DasherCore/DasherNode.o ../DasherCore/DasherSettingsInterface.o ../DasherCore/DasherView.o ../DasherCore/DasherViewSquare.o ../DasherCore/LanguageModel.o ../DasherCore/PPMLanguageModel.o ../DasherCore/SettingsStore.o

PPMTester:	PPMTester.o $(HOBJS)
	g++ $(CFLAGS) $(inc) -c PPMTester.cpp
	g++ PPMTester.o $(HOBJS) $(hobj) $(LDFLAGS)
	mv a.out PPMTester

FileLogger.o: FileLogger.cpp
	g++ $(CFLAGS) $(inc) -c FileLogger.cpp

ProbModelPPM.o: ProbModelPPM.cpp
	g++ $(CFLAGS) $(inc) -c ProbModelPPM.cpp

../DasherCore/Alphabet.o : ../DasherCore/Alphabet.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/Alphabet.cpp -o ../DasherCore/Alphabet.o 

../DasherCore/AlphabetMap.o : ../DasherCore/AlphabetMap.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/AlphabetMap.cpp -o ../DasherCore/AlphabetMap.o 

../DasherCore/AlphIO.o : ../DasherCore/AlphIO.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/AlphIO.cpp -o ../DasherCore/AlphIO.o 

../DasherCore/ColourIO.o : ../DasherCore/ColourIO.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/ColourIO.cpp -o ../DasherCore/ColourIO.o 

../DasherCore/CustomAlphabet.o : ../DasherCore/CustomAlphabet.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/CustomAlphabet.cpp -o ../DasherCore/CustomAlphabet.o 

../DasherCore/CustomColours.o : ../DasherCore/CustomColours.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/CustomColours.cpp -o ../DasherCore/CustomColours.o 

../DasherCore/DasherInterface.o : ../DasherCore/DasherInterface.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/DasherInterface.cpp -o ../DasherCore/DasherInterface.o 

../DasherCore/DasherModel.o : ../DasherCore/DasherModel.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/DasherModel.cpp -o ../DasherCore/DasherModel.o 

../DasherCore/DasherNode.o : ../DasherCore/DasherNode.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/DasherNode.cpp -o ../DasherCore/DasherNode.o 

../DasherCore/DasherSettingsInterface.o : ../DasherCore/DasherSettingsInterface.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/DasherSettingsInterface.cpp -o ../DasherCore/DasherSettingsInterface.o 

../DasherCore/DasherView.o : ../DasherCore/DasherView.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/DasherView.cpp -o ../DasherCore/DasherView.o 

../DasherCore/DasherViewSquare.o : ../DasherCore/DasherViewSquare.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/DasherViewSquare.cpp -o ../DasherCore/DasherViewSquare.o 

../DasherCore/LanguageModel.o : ../DasherCore/LanguageModel.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/LanguageModel.cpp -o ../DasherCore/LanguageModel.o 

../DasherCore/PPMLanguageModel.o : ../DasherCore/PPMLanguageModel.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/PPMLanguageModel.cpp -o ../DasherCore/PPMLanguageModel.o 

../DasherCore/SettingsStore.o : ../DasherCore/SettingsStore.cpp
	g++ $(CFLAGS) $(inc) -c ../DasherCore/SettingsStore.cpp -o ../DasherCore/SettingsStore.o





