3d113773 |
1 | # Toplevel Makefile for Hachti's H316 stuff collection |
2 | |
fa105a9b |
3 | # First we need the PC side tools. Nothing runs without them! |
fe67c7be |
4 | SUBDIRS=pc-tools |
fa105a9b |
5 | |
6 | # Now we build the libraries which are always rebuild using the original compiler and |
7 | # assembler tapes |
d6a1a234 |
8 | SUBDIRS+=lib |
fa105a9b |
9 | |
10 | # Here we link the assembler - via a trick |
11 | SUBDIRS+=systems/dap |
12 | |
13 | # What's missing for the systems |
14 | SUBDIRS+=programs/tools |
15 | |
16 | # Now we can build the super images and slst |
17 | SUBDIRS+=systems |
18 | |
19 | # The compiler is rebuilt as well! |
4dafd752 |
20 | SUBDIRS+=programs/fortran |
fa105a9b |
21 | |
22 | # And all other H316 tools depending on all the other stuff |
047c458f |
23 | SUBDIRS+=programs |
fa105a9b |
24 | |
adbca57e |
25 | #lib/fortran/vpunch-help |
26 | |
18e3fabb |
27 | # If you want to build the docs, too: Uncomment next line: |
28 | #SUBDIRS+=docs/manual |
3d113773 |
29 | |
fe67c7be |
30 | |
3d113773 |
31 | default: |
4dafd752 |
32 | @mklink.sh |
fa105a9b |
33 | @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true |
3d113773 |
34 | |
4dafd752 |
35 | clean: |
6f41bb44 |
36 | @mklink.sh |
37 | @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true |
eabafcca |
38 | @rm -f h316rc |
fe67c7be |
39 | @rmlink.sh |
99ab1007 |
40 | |
3d113773 |
41 | %: |
42 | @echo $@ |
4dafd752 |
43 | @mklink.sh |
3d113773 |
44 | $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;) |
45 | |
46 | |
fa105a9b |
47 | .PHONY: default cvsclean |
6d498331 |
48 | |
3d113773 |
49 | |