projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added routine remove_irp_irg.
[libfirm]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a685163
..
cb06cf1
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
# Hey, emacs, this is a -*- makefile -*-
#
# Hey, emacs, this is a -*- makefile -*-
#
-# Copyright (C) 1998 - 200
0
by Universitaet Karlsruhe
+# Copyright (C) 1998 - 200
1
by Universitaet Karlsruhe
# All rights reserved.
# Author: Goetz Lindenmaier
#
# All rights reserved.
# Author: Goetz Lindenmaier
#
@@
-10,27
+10,40
@@
SUBDIRS = ir testprograms
SUBDIRS = ir testprograms
-MAKE = /usr/bin/make -k
-SHELL = /bin/sh
-
-.PHONY: default all clean realclean install depend ir testprograms
+ifeq (,($MAKE))
+MAKE = /usr/bin/make -k
+endif
+#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
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
testprograms:
$(MAKE) -C testprograms
+# Makes everything
+all: TAGS ir lib testprograms
+
+
clean:
for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
realclean:
for i in $(SUBDIRS); do $(MAKE) -C $$i realclean; done
clean:
for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
realclean:
for i in $(SUBDIRS); do $(MAKE) -C $$i realclean; done
- rm -f libfirm.a core
+ rm -f libfirm.a core
include/*.h TAGS
TAGFILES = $(shell find . -name '*.c' -o -name '*.h')
TAGFILES = $(shell find . -name '*.c' -o -name '*.h')