global: Added suitable .gitignore file
[h316.git] / Makefile
index b6da4018c3093c54d132a84c3f2be9d1a19fb386..c092b95f9e9a3e3a76ae78e73ba5f36541562d77 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ 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
@@ -33,8 +33,10 @@ default:
        @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true
 
 clean:
+       @mklink.sh
+       @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true
+       @rm -f h316rc
        @rmlink.sh
-       $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;)
 
 %:
        @echo $@