Renamed to `Mmakefile'.

Estimated hours taken: 0.5
Branches: main


mercury/java/Makefile:
	Renamed to `Mmakefile'.

mercury/Mmakefile:
	Invoke mmake in the mercury/java directory to create symbolic
	links for java class directories at build time.
This commit is contained in:
Michael Wybrow
2002-02-22 01:46:00 +00:00
parent c0ec782364
commit 8f546fd727
2 changed files with 14 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 1995-2001 The University of Melbourne.
# Copyright (C) 1995-2002 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public Licence - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -31,6 +31,7 @@ SUBDIRS = \
trace \
browser \
compiler \
java \
doc \
profiler \
deep_profiler
@@ -157,6 +158,10 @@ trace: scripts boehm_gc runtime library browser
compiler: dep_compiler scripts util boehm_gc runtime library browser trace
+cd compiler && $(SUBDIR_MMAKE)
.PHONY: java
java:
+cd java && $(SUBDIR_MMAKE)
.PHONY: libmmc
libmmc: dep_compiler scripts util boehm_gc runtime library browser trace
+cd compiler && $(SUBDIR_MMAKE) libmmc

View File

@@ -17,9 +17,15 @@
# directory "mercury/runtime", hence the second link.
#
MAIN_TARGET=links
links:
ln -s library mercury
(cd library && ln -s ../runtime runtime)
-ln -s -f library mercury
-(cd library && ln -s -f ../runtime runtime)
realclean_local: clean
clean:
rm -f mercury library/runtime