X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile;h=cb06cf1fd7858165fa045e1ca746a9320c6d19ef;hb=898caa0b0671dfe587c9ff4e2bbca6d40a9ee30f;hp=8a26c206aee77d6400af1dbc1c3037ec815246e8;hpb=3d16844cfe86402baf7e82c87facf630ee336b73;p=libfirm diff --git a/Makefile b/Makefile index 8a26c206a..cb06cf1fd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Hey, emacs, this is a -*- makefile -*- # -# Copyright (C) 1998 - 2000 by Universitaet Karlsruhe +# Copyright (C) 1998 - 2001 by Universitaet Karlsruhe # All rights reserved. # Author: Goetz Lindenmaier # @@ -10,22 +10,33 @@ SUBDIRS = ir testprograms -MAKE = /usr/bin/make -k -SHELL = /bin/sh +ifeq (,($MAKE)) +MAKE = /usr/bin/make -k +endif -.PHONY: default all clean realclean install depend ir testprograms +#MAKE = ${MAKE:-/usr/bin/make} # Vorschlag Uwe +#MAKE = /usr/bin/make -k +#SHELL = /bin/sh +.PHONY: default all clean realclean install depend ir testprograms +# Makes the intermediate representation and bundles it into a +# library ir: $(MAKE) -C ir +# Makes the library, i.e., compiles and bundles the intermediate +# representation and extracts the necessary headers into directory +# include. +lib: ir + $(MAKE) -C ir lib -all: TAGS ir testprograms - +# Makes the testprograms. testprograms: $(MAKE) -C testprograms -lib: ir - $(MAKE) -C ir lib +# Makes everything +all: TAGS ir lib testprograms + clean: for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done