X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=Makefile;h=6f781ba90e7472d3fe251fff5a90bb8d986ac1a2;hb=f05fb51c74108c8cdb0baa2964e4a7a87dceac16;hp=3b5066b49a9d224c260d0c97d7ffcaee65c0711d;hpb=18e3fabbd4e754712b745c8b76d8ed64f92c00e4;p=h316.git diff --git a/Makefile b/Makefile index 3b5066b..6f781ba 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,45 @@ # Toplevel Makefile for Hachti's H316 stuff collection -SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/boot-maker lib/iolib lib/fortran \ - lib/fortran lib/fortran/vpunch-help lib/iolib programs/mandelbrot\ - programs/punchomat programs/tools systems +# First we need the PC side tools. Nothing runs without them! +SUBDIRS=pc-tools + +# Now we build the libraries which are always rebuild using the original compiler and +# assembler tapes +SUBDIRS+=lib + +# Here we link the assembler - via a trick +SUBDIRS+=systems/dap + +# What's missing for the systems +SUBDIRS+=programs/tools + +# Now we can build the super images and slst +SUBDIRS+=systems + +# The compiler is rebuilt as well! +SUBDIRS+=programs/fortran + +# And all other H316 tools depending on all the other stuff +SUBDIRS+=programs + +#lib/fortran/vpunch-help # If you want to build the docs, too: Uncomment next line: #SUBDIRS+=docs/manual + default: - $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true + @$(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) $@;) -.PHONY: default +.PHONY: default cvsclean