X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=80ec0bb92914055402ef4fea8a00d92df9590e14;hb=d5415744758eb5532157cc4f70d5b560d45733d8;hp=0f3e15820817e6b506e315bcef42736d23e9e867;hpb=028b7ad7b0e8d52aef1d09ea63e7c89e163bad8d;p=cparser diff --git a/Makefile b/Makefile index 0f3e158..80ec0bb 100644 --- a/Makefile +++ b/Makefile @@ -7,15 +7,14 @@ BUILDDIR ?= build FIRM_CFLAGS ?= `pkg-config --cflags libfirm` FIRM_LIBS ?= `pkg-config --libs libfirm` -CPPFLAGS = -DHAVE_CONFIG_H -DFIRM_BACKEND -CPPFLAGS += -I. +CPPFLAGS = -I. CPPFLAGS += $(FIRM_CFLAGS) -CFLAGS += -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Werror -std=c99 -pedantic +CFLAGS += -Wall -W -Wstrict-prototypes -Wmissing-prototypes -std=c99 -pedantic CFLAGS += -O0 -g3 #CFLAGS += -O3 -march=pentium4 -fomit-frame-pointer -DNDEBUG #CFLAGS += -pg -O3 -fno-inline -ICC_CFLAGS = -O0 -g3 -std=c99 -Wall -Werror +ICC_CFLAGS = -O0 -g3 -std=c99 -Wall #LFLAGS += -pg ICC ?= true GCCO1 ?= true @@ -24,8 +23,6 @@ LFLAGS += $(FIRM_LIBS) SOURCES := \ adt/hashset.c \ - adt/obstack.c \ - adt/obstack_printf.c \ adt/strset.c \ adt/xmalloc.c \ attribute.c \