ast2firm: Factorise code to convert a value to its storage type.
[cparser] / .build_plugin
1 DIRS = "" adt driver wrappergen ;
2 SOURCES = ;
3 for d in $(DIRS) {
4         SOURCES += [ Wildcard $(PLUGIN_DIR)/$(d) : *.c *.h ] ;
5 }
6
7 Application cparser : $(SOURCES) ;
8 IncludeDir cparser : libfirm/include libfirm/include/libfirm ;
9 IncludeDir cparser : $(PLUGIN_DIR) ;
10 CFlags cparser : -std=c99 ;
11 LinkWith cparser : firm ;
12 LFlags cparser : -lm ;