| 1 | # Toplevel Makefile for Hachti's H316 stuff collection |
| 2 | |
| 3 | <<<<<<< Makefile |
| 4 | # First we need the PC side tools. Nothing runs without them! |
| 5 | SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/boot-maker |
| 6 | |
| 7 | # Now we build the libraries which are always rebuild using the original compiler and |
| 8 | # assembler tapes |
| 9 | SUBDIRS+=lib/iolib lib/fortran \ |
| 10 | |
| 11 | # Here we link the assembler - via a trick |
| 12 | SUBDIRS+=systems/dap |
| 13 | |
| 14 | # What's missing for the systems |
| 15 | SUBDIRS+=programs/tools |
| 16 | |
| 17 | # Now we can build the super images and slst |
| 18 | SUBDIRS+=systems |
| 19 | |
| 20 | # The compiler is rebuilt as well! |
| 21 | SUBDIRS+=programs/frtn |
| 22 | |
| 23 | # And all other H316 tools depending on all the other stuff |
| 24 | SUBDIRS+=programs/mandelbrot\ |
| 25 | programs/punchomat\ |
| 26 | |
| 27 | |
| 28 | ======= |
| 29 | SUBDIRS=pc-tools/ldc pc-tools/src-filters pc-tools/boot-maker lib/iolib lib/fortran \ |
| 30 | lib/fortran lib/iolib programs/mandelbrot\ |
| 31 | programs/punchomat programs/tools systems |
| 32 | >>>>>>> 1.12 |
| 33 | |
| 34 | #lib/fortran/vpunch-help |
| 35 | |
| 36 | # If you want to build the docs, too: Uncomment next line: |
| 37 | #SUBDIRS+=docs/manual |
| 38 | cvsclean: clean |
| 39 | touch slst/* sys/* |
| 40 | |
| 41 | default: |
| 42 | @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true |
| 43 | |
| 44 | %: |
| 45 | @echo $@ |
| 46 | $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;) |
| 47 | |
| 48 | |
| 49 | .PHONY: default cvsclean |
| 50 | |
| 51 | |