*** empty log message ***
[libfirm] / Makefile
1 # Hey, emacs, this is a -*- makefile -*-
2 #
3 # Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
4 # All rights reserved.
5 # Author: Goetz Lindenmaier
6 #
7 # Main Makefile
8
9 # This makefile makes firm and/or the testprograms.
10
11 SUBDIRS = ir testprograms
12
13 MAKE    = /usr/bin/make -k
14 SHELL   = /bin/sh
15
16 .PHONY: default all clean realclean install depend ir testprograms
17
18
19 ir:
20         $(MAKE) -C ir
21
22 all:    TAGS ir testprograms
23
24 testprograms:
25         $(MAKE) -C testprograms
26
27 clean:
28         for i in $(SUBDIRS); do  $(MAKE) -C $$i clean; done
29
30 realclean:
31         for i in $(SUBDIRS); do  $(MAKE) -C $$i realclean; done
32         rm -f libfirm.a core
33
34 TAGFILES = $(shell find . -name '*.c' -o -name '*.h')
35
36 TAGS:   $(TAGFILES)
37         etags -C $(TAGFILES)