*** empty log message ***
[h316.git] / Makefile
index d723946c558fa93000868e5211f2c84ccd07681f..8480e37c3cda585ca91fa79352c34fbd2550b872 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,25 +17,27 @@ SUBDIRS+=programs/tools
 SUBDIRS+=systems
 
 # The compiler is rebuilt as well!
-SUBDIRS+=programs/frtn
+SUBDIRS+=programs/fortran
 
 # And all other H316 tools depending on all the other stuff
-SUBDIRS+=programs/mandelbrot\
-        programs/punchomat\
-
+SUBDIRS+=programs
 
 #lib/fortran/vpunch-help
 
 # If you want to build the docs, too: Uncomment next line:
 #SUBDIRS+=docs/manual
-cvsclean: clean
-       touch slst/* sys/*
 
 default: 
+       @mklink.sh
        @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true
 
+clean:
+       rmlink.sh
+       $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;)
+
 %:
        @echo $@
+       @mklink.sh
        $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;)