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