Added tarval_sub_bits() fucntion to access the (binary) bitpattern of a tarval.
[libfirm] / Makefile.in
index 9054a7b..b433ab1 100644 (file)
@@ -34,9 +34,11 @@ XOFILES += $(addsuffix /subdir.o, $(subdirs))
 
 include $(top_srcdir)/MakeTargets
 
-
+# add target firmjni if configured with --enable-firmjni
 all: config.h Makefile libfirm.a
 
+firm: config.h Makefile libfirm.a
+
 libfirm.a: subdir_all $(XOFILES) $(OFILES)
        $(AR) $(ARFLAGS) $@.new $(XOFILES) $(OFILES)
        $(RANLIB) $@.new
@@ -44,8 +46,9 @@ libfirm.a: subdir_all $(XOFILES) $(OFILES)
 
 testprograms:  libfirm.a
        $(MAKE) -C testprograms
-       $(MAKE) -C firmjni
 
+firmjni:: libfirm.a
+       $(MAKE) -C firmjni
 
 # gernerate program documentation
 .PHONY: autodoc
@@ -75,8 +78,11 @@ stamp-h: config.h.in config.status
 config.status: configure
        ./config.status --recheck
 
+# add target test-firmjni if configured with --enable-firmjni
 test::
        $(MAKE) -C testprograms test;
+
+test-firmjni::
        $(MAKE) -C firmjni test;
 
 test-reference::
@@ -84,3 +90,4 @@ test-reference::
 
 test-clean:
        $(MAKE) -C testprograms realclean
+       $(MAKE) -C firmjni/testprograms clean;