build plugin specification for cparser (doesn't completely work yet - you have to...
[cparser] / .build_plugin
1 DIRS = . adt driver wrappergen ;
2 SOURCES = ;
3 for d in $(DIRS) {
4         SOURCES += [ Wildcard $(d) : *.c *.h ] ;
5 }
6 Application cparser : $(SOURCES) ;
7 CppFlags cparser : -DFIRM_BACKEND -I$(top_srcdir)/libfirm/include ;
8 IncludeDir cparser : . ;
9 CFlags cparser : -std=c99 ;
10 LinkWith cparser : firm ;
11 LFlags cparser : -lm ;