From 659a361a09bcc4571966921f474e477860963723 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 19 Nov 2009 11:55:35 +0000 Subject: Solved compilation warnings in linux. --- tools/mhmake/src/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/mhmake/src/Makefile.am') diff --git a/tools/mhmake/src/Makefile.am b/tools/mhmake/src/Makefile.am index 9e84d0f1f..be46f3bd6 100644 --- a/tools/mhmake/src/Makefile.am +++ b/tools/mhmake/src/Makefile.am @@ -24,26 +24,26 @@ mhmakeparser.cpp: mhmakeparser.y mhmakeparser.h: mhmakeparser.y .l.cpp: - $(LEXCOMPILE) -S$(dir $<)flexskel.cc -H$(dir $<)flexskel.h -h$(@:%.cpp=%.h) -otemp1234.456 $< + $(LEXCOMPILE) -S$(srcdir)/flexskel.cc -H$(srcdir)/flexskel.h -h$(@:%.cpp=%.h) -otemp1234.456 $< echo '#include "stdafx.h"' > $@ cat temp1234.456 >> $@ rm temp1234.456 .y.cpp: - $(YACCCOMPILE) -S$(dir $<)bison.cc -H$(dir $<)bison.h -h$(@:%.cpp=%.h) -otemp1234.456 $< + $(YACCCOMPILE) -S$(srcdir)/bison.cc -H$(srcdir)/bison.h -h$(@:%.cpp=%.h) -otemp1234.456 $< echo '#include "stdafx.h"' > $@ cat temp1234.456 >> $@ rm temp1234.456 .l.h: - $(LEXCOMPILE) -S$(dir $<)flexskel.cc -H$(dir $<)flexskel.h -h$@ -otemp1234.456 $< + $(LEXCOMPILE) -S$(srcdir)/flexskel.cc -H$(srcdir)/flexskel.h -h$@ -otemp1234.456 $< echo '#include "stdafx.h"' > $(@:%.h=%.cpp) cat temp1234.456 >> $(@:%.h=%.cpp) rm temp1234.456 .y.h: - $(YACCCOMPILE) -S$(dir $<)bison.cc -H$(dir $<)bison.h -h$@ -otemp1234.456 $< + $(YACCCOMPILE) -S$(srcdir)/bison.cc -H$(srcdir)/bison.h -h$@ -otemp1234.456 $< echo '#include "stdafx.h"' > $(@:%.h=%.cpp) cat temp1234.456 >> $(@:%.h=%.cpp) rm temp1234.456 -- cgit v1.2.3