move is_liveness_node to irlivechk header and share it with belive
[libfirm] / Makefile
index 39156e3..b5f27dd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,8 +29,10 @@ DLLEXT ?= .so
 CFLAGS_all        = -std=c99 -fPIC -DHAVE_FIRM_REVISION_H
 CFLAGS_debug      = $(CFLAGS_all) -O0 -g3 -DDEBUG_libfirm
 CFLAGS_profile    = $(CFLAGS_all) -O3 -pg -DNDEBUG -fno-inline
-LINKFLAGS_profile = -pg
-CFLAGS_optimize   = $(CFLAGS_all) -O3 -DNDEBUG
+CFLAGS_coverage   = $(CFLAGS_all) -O0 --coverage -DDEBUG_libfirm
+LINKFLAGS_profile  = -pg
+LINKFLAGS_coverage = --coverage
+CFLAGS_optimize   = $(CFLAGS_all) -O3 -fomit-frame-pointer -DNDEBUG
 
 # General flags
 CFLAGS    += $(CFLAGS_$(variant))
@@ -46,8 +48,11 @@ UNUSED := $(shell \
        echo "$$REV" | cmp -s - firm_revision.h 2> /dev/null || echo "$$REV" > firm_revision.h \
 )
 
-.PHONY: all
 all: firm
+.PHONY: all
+
+# disable make builtin suffix rules
+.SUFFIXES:
 
 # 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)
@@ -60,7 +65,7 @@ $(srcdir)config.h:
        $(Q)rm -f $@
        $(Q)echo "#define libfirm_VERSION_MAJOR 1" >> $@
        $(Q)echo "#define libfirm_VERSION_MICRO 0" >> $@
-       $(Q)echo "#define libfirm_VERSION_MINOR 20" >> $@
+       $(Q)echo "#define libfirm_VERSION_MINOR 21" >> $@
 
 # libFirm
 libfirm_DIRS := \