boot-maker: Fix warnings (missing header file)
[h316.git] / Makefile
... / ...
CommitLineData
1# Toplevel Makefile for Hachti's H316 stuff collection
2
3SUBDIRS = pc-tools lib systems programs
4
5# If you want to build the docs, too: Uncomment next line:
6#SUBDIRS+=docs/manual
7
8.done_pc-tools :
9 @$(MAKE) -C pc-tools && touch $@
10
11.done_lib: .done_pc-tools
12 @$(MAKE) -C lib && touch $@
13
14.done_systems_dap: .done_lib
15 @$(MAKE) -C systems/dap && touch $@
16
17.done_programs_tools: .done_systems_dap
18 @$(MAKE) -C programs/tools && touch $@
19
20.done_systems: .done_programs_tools
21 @$(MAKE) -C systems && touch $@
22
23.done_programs_fortran: .done_systems_dap
24 @$(MAKE) -C programs/fortran && touch $@
25
26.done_programs: .done_programs_fortran
27 @$(MAKE) -C programs && touch $@
28
29.done_systems: .done_programs
30
31default: .done_systems
32
33clean:
34 @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true
35 @rm -f h316rc
36 @rm -f .done_*
37
38%:
39 @echo $@
40 $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;)
41
42
43.PHONY: default cvsclean
44
45