autoconf stuff
[libfirm] / ir / Makefile
index 22d486a..db6786c 100644 (file)
@@ -6,8 +6,8 @@
 #
 # Makefile for IR library.
 
-# This makefile descends to all directories listed in INCLUDES and to
-# testprograms and calls make with the corresponding target there.
+# This makefile descends to all directories listed in INCLUDES
+# and calls make with the corresponding target there.
 # After returning it builds a library out of the firm files.
 # Further it updates the TAGS file with each recompilation
 
@@ -40,15 +40,14 @@ debug:
 
 all:   TAGS $(TARGET)
 
-#testprograms:
-#      $(MAKE) -C testprograms
+lib:
+       for i in $(SUBDIRS); do  $(MAKE) -C $$i lib; done
 
 clean:
        for i in $(SUBDIRS); do  $(MAKE) -C $$i clean; done
 
 realclean:
        for i in $(SUBDIRS); do  $(MAKE) -C $$i realclean; done
-       $(MAKE) -C testprograms realclean
        rm -f $(TARGET) core
 
 profile:        realclean