From: Philipp Hachtmann Date: Mon, 3 Oct 2016 04:04:33 +0000 (+0200) Subject: Fixed dependencies in Makefile X-Git-Url: http://gitweb.hachti.de/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=h316.git Fixed dependencies in Makefile Signed-off-by: Philipp Hachtmann --- diff --git a/Makefile b/Makefile index f7f397e..9b4eb82 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ SUBDIRS = pc-tools lib systems programs # If you want to build the docs, too: Uncomment next line: #SUBDIRS+=docs/manual +default: .done_programs + .done_pc-tools : @$(MAKE) -C pc-tools && touch $@ @@ -17,19 +19,15 @@ SUBDIRS = pc-tools lib systems programs .done_programs_tools: .done_systems_dap @$(MAKE) -C programs/tools && touch $@ -.done_systems: .done_programs_tools +.done_systems: .done_programs_tools @$(MAKE) -C systems && touch $@ -.done_programs_fortran: .done_systems_dap +.done_programs_fortran: .done_systems @$(MAKE) -C programs/fortran && touch $@ .done_programs: .done_programs_fortran @$(MAKE) -C programs && touch $@ -.done_systems: .done_programs - -default: .done_systems - clean: @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true @rm -f h316rc