X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=.build_plugin;h=f8128bd21fe5fc3ea4990e365d30b3d5e0e1e9a1;hb=d9e14443ff584032ca378ba617a2917d4e4e3b26;hp=572ce4b8e0b97fdcc906f9ba788ea0b0c803326b;hpb=4119021e039146866e3b45cb8492cd240a9f3908;p=cparser diff --git a/.build_plugin b/.build_plugin index 572ce4b..f8128bd 100644 --- a/.build_plugin +++ b/.build_plugin @@ -4,7 +4,7 @@ for d in $(DIRS) { SOURCES += [ Wildcard $(d) : *.c *.h ] ; } -actions RunGenerator bind GENERATOR { +actions RunBuiltinGenerator bind GENERATOR { $(GENERATOR) $(>) > $(<) } @@ -16,7 +16,7 @@ rule BuiltinGenerator { Depends $(<) : $(target) ; Depends $(target) : $(generator) ; Depends $(target) : $(source) ; - RunGenerator $(target) : $(source) ; + RunBuiltinGenerator $(target) : $(source) ; GENERATOR on $(target) = $(generator) ; Includes $(header:G=) : $(header) ; @@ -28,7 +28,7 @@ rule BuiltinGenerator { BuiltinGenerator gen_builtins.h : builtins/builtins.c : create_builtins_h.sh ; Application cparser : $(SOURCES) ; -CppFlags cparser : -DFIRM_BACKEND -I$(top_srcdir)/libfirm/include ; +CppFlags cparser : -I$(top_srcdir)/libfirm/include ; IncludeDir cparser : . ; CFlags cparser : -std=c99 ; LinkWith cparser : firm ;