1 # Hey, emacs, this is a -*- makefile -*-
3 # Copyright (C) 1998 - 2001 by Universitaet Karlsruhe
5 # Author: Goetz Lindenmaier
9 # This makefile makes firm and/or the testprograms.
11 SUBDIRS = ir testprograms
14 MAKE = /usr/bin/make -k
17 #MAKE = ${MAKE:-/usr/bin/make} # Vorschlag Uwe
18 #MAKE = /usr/bin/make -k
21 .PHONY: default all clean realclean install depend ir testprograms
23 # Makes the intermediate representation and bundles it into a
27 # Makes the library, i.e., compiles and bundles the intermediate
28 # representation and extracts the necessary headers into directory
33 # Makes the testprograms.
35 $(MAKE) -C testprograms
38 all: TAGS ir lib testprograms
42 for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
45 for i in $(SUBDIRS); do $(MAKE) -C $$i realclean; done
46 rm -f libfirm.a core include/*.h TAGS
48 TAGFILES = $(shell find . -name '*.c' -o -name '*.h')