X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=Makefile;h=8bf28a4e2ee5328c5ad8a1b89448afedfb427c96;hb=990b21a1a4d0d5590aba547d3cf9879f1a6f5659;hp=29336ae726e695e733460041961112b87761abc5;hpb=99ab10072953cf340864184e8080b2f68f643215;p=h316.git diff --git a/Makefile b/Makefile index 29336ae..8bf28a4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Toplevel Makefile for Hachti's H316 stuff collection # First we need the PC side tools. Nothing runs without them! -SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/boot-maker +SUBDIRS=pc-tools # Now we build the libraries which are always rebuild using the original compiler and # assembler tapes @@ -17,26 +17,29 @@ SUBDIRS+=programs/tools SUBDIRS+=systems # The compiler is rebuilt as well! -SUBDIRS+=programs/frtn +SUBDIRS+=programs/fortran # And all other H316 tools depending on all the other stuff -SUBDIRS+=programs/mandelbrot\ - programs/punchomat\ - +SUBDIRS+=programs #lib/fortran/vpunch-help # If you want to build the docs, too: Uncomment next line: #SUBDIRS+=docs/manual + default: + @mklink.sh @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true -cvsclean: clean - touch slst/* sys/* +clean: + @mklink.sh + @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true + @rmlink.sh %: @echo $@ + @mklink.sh $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;)