X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=Makefile;h=8480e37c3cda585ca91fa79352c34fbd2550b872;hb=7bfbd225912d112de4602b01fe4c256c5073ddeb;hp=dbfe198c6c9b8c265a4fcfee35792c605b633bf3;hpb=4dc242fc756e6cf2524b4a3c25b49f9b8821ff4e;p=h316.git diff --git a/Makefile b/Makefile index dbfe198..8480e37 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,46 @@ # 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 +# First we need the PC side tools. Nothing runs without them! +SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/boot-maker +# Now we build the libraries which are always rebuild using the original compiler and +# assembler tapes +SUBDIRS+=lib/iolib lib/fortran \ + +# 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 + @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) $@;) -.PHONY: default +.PHONY: default cvsclean