# here
Includes $(headerfile:G=) : $(headerfile) ;
- Bison $(cppfile) : $(<) ;
-#Includes $(cppfile) : $(headerfile) ;
+ Bison $(cppfile) $(headerfile:G=) : $(<) ;
+#Includes $(cppfile) : $(headerfile:G=) ;
return $(object) ;
}
SubDir TOP tools miniswig ;
if $(LEX) && $(BISON) {
- MINISWIG = [ Application miniswig : [ Wildcard *.yy *.ll *.cpp ] ] ;
+ sources = [ Filter [ Wildcard *.yy *.ll *.cpp ] : parser.cpp lexer.cpp ] ;
+ MINISWIG = [ Application miniswig : $(sources) ] ;
C++Flags miniswig : -Wno-unused ;
IncludeDir miniswig : . ;
ExternalLibs miniswig : LEX ;