X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=Makefile;h=29336ae726e695e733460041961112b87761abc5;hb=6ad6bd16506f180bf1a9214233bae33ccf25a299;hp=26b96574da6bdadd00f494b4bb954885dfae00a8;hpb=5643078390a67cb657b93585f4f7822a080ba1e2;p=h316.git diff --git a/Makefile b/Makefile index 26b9657..29336ae 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +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/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/frtn + +# 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 + @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true + +cvsclean: clean + touch slst/* sys/* %: @echo $@ $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;) -.PHONY: default +.PHONY: default cvsclean