global: Corrected absolute paths in bin/ symbolic links
[h316.git] / Makefile
index d723946c558fa93000868e5211f2c84ccd07681f..6f781ba90e7472d3fe251fff5a90bb8d986ac1a2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
 # Toplevel Makefile for Hachti's H316 stuff collection
 
 # First we need the PC side tools. Nothing runs without them!
-SUBDIRS=pc-tools/ldc pc-tools/src-filters  pc-tools/boot-maker 
+SUBDIRS=pc-tools 
 
 # Now we build the libraries which are always rebuild using the original compiler and 
 # assembler tapes
-SUBDIRS+=lib/iolib lib/fortran \
+SUBDIRS+=lib
 
 # Here we link the assembler - via a trick
 SUBDIRS+=systems/dap
@@ -17,23 +17,24 @@ 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: 
        @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true
 
+clean:
+       @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true
+       @rm -f h316rc
+
 %:
        @echo $@
        $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;)