X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=d643a083baedfe613db5ffba5b500a6869754e56;hb=0363d8fc7b4be15d7584b25a681a674c7f0b84d4;hp=ecc9e6b614c3da6f35c6dc433cbb54bb069f0a0f;hpb=b6497b15fea3a1b68326734cb7aa9b20391b4d66;p=libfirm diff --git a/Makefile b/Makefile index ecc9e6b61..d643a083b 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,11 @@ VPATH = $(srcdir) .PHONY: all all: firm +# This rule is necessary so that make does not abort if headers get deleted +# (the deleted header might still be referenced in a .d file) +%.h: + @: + # A very naive way to create a config.h if it is missing $(srcdir)config.h: @echo MakeConfig $@ @@ -46,8 +51,6 @@ $(srcdir)config.h: $(Q)echo "#define libfirm_VERSION_MAJOR 1" >> $@ $(Q)echo "#define libfirm_VERSION_MICRO 0" >> $@ $(Q)echo "#define libfirm_VERSION_MINOR 20" >> $@ - $(Q)echo "#define HAVE_LONG_DOUBLE 1" >> $@ - $(Q)echo "#define FIRM_STATISTICS" >> $@ # libFirm libfirm_DIRS := \ @@ -63,11 +66,13 @@ libfirm_DIRS := \ ir/ir \ ir/lower \ ir/libcore \ + ir/lpp \ ir/opt \ ir/st \ ir/stat \ ir/tr \ ir/tv \ + ir/kaps \ ir/be libfirm_SOURCES = $(foreach dir,$(libfirm_DIRS),$(wildcard $(dir)/*.c)) libfirm_a = $(builddir)/libfirm.a