X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=f7f50ca6ac76535de862f640af7557c9875d65dc;hb=ae52b69dfadbd0835e01f55167d979cb6a9a6305;hp=34b231fca858a3986b503553a7109885900f3658;hpb=1d06b6caa3a1849143d28a3968fcf45423dba1fb;p=cparser diff --git a/Makefile b/Makefile index 34b231f..f7f50ca 100644 --- a/Makefile +++ b/Makefile @@ -29,19 +29,20 @@ SOURCES := \ adt/obstack_printf.c \ adt/xmalloc.c \ ast.c \ - ast2firm.c \ diagnostic.c \ entitymap.c \ format_check.c \ lexer.c \ main.c \ - parser.c \ + walk_statements.c \ symbol_table.c \ token.c \ type.c \ types.c \ type_hash.c \ warning.c \ + parser.c \ + ast2firm.c \ write_fluffy.c \ write_caml.c \ driver/firm_cmdline.c \ @@ -49,6 +50,7 @@ SOURCES := \ driver/firm_codegen.c \ driver/firm_opt.c \ driver/gen_firm_asm.c \ + preprocessor.c OBJECTS = $(SOURCES:%.c=build/%.o) @@ -90,7 +92,7 @@ REVISION ?= $(shell svnversion -n .) DIRS = build build/adt build/driver build/cpb build/cpb/adt build/cpb/driver build/cpb2 build/cpb2/adt build/cpb2/driver build/cpbe build/cpbe/adt build/cpbe/driver UNUSED := $(shell mkdir -p $(DIRS)) -$(GOAL): $(OBJECTS) +$(GOAL): $(OBJECTS) $(LIBFIRM_FILE) @echo "===> LD $@" $(Q)$(CC) $(OBJECTS) $(LFLAGS) -o $(GOAL) @@ -116,7 +118,7 @@ $(DIRS): @echo "===> MKDIR $@" $(Q)mkdir -p $@ -builtins.h: builtins/builtins.c +builtins.h: builtins/builtins.c create_builtins_h.sh @echo '===> CREATE_BUILTINS $<' $(Q)./create_builtins_h.sh > $@ @@ -148,8 +150,8 @@ cparser.bootstrap2: $(CPARSEROS2) build/%.o: %.c @echo '===> CC $<' - $(Q)$(ICC) $(CPPFLAGS) $(ICC_CFLAGS) -c $< -o $@ - $(Q)$(GCCO1) $(CPPFLAGS) $(CFLAGS) -O1 -c $< -o $@ +#$(Q)$(ICC) $(CPPFLAGS) $(ICC_CFLAGS) -c $< -o $@ +#$(Q)$(GCCO1) $(CPPFLAGS) $(CFLAGS) -O1 -c $< -o $@ $(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ clean: