X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=Makefile;h=aee696b1a9f606baa71281f6c60316b2661f4236;hb=0b8fa8754893006b8a88448dbd32ac21ce911731;hp=a1b7a3cc5fa49c130a07011fcf1aa9defa5e16c7;hpb=716a98c0cf2732b796ee074aeb14c16c61fc7271;p=h316.git diff --git a/Makefile b/Makefile index a1b7a3c..aee696b 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,48 @@ # Toplevel Makefile for Hachti's H316 stuff collection -SUBDIRS=pc-tools/ldc pc-tools/src-filters lib/iolib lib/fortran docs/manual\ - 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/mandelbrot\ + programs/punchomat\ + + +#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./build/Makefile +.PHONY: default cvsclean +