]> rtime.felk.cvut.cz Git - omk.git/commit
Fixed behaviour of make -k if there is an error in a subdirectory
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 17 Apr 2008 06:25:00 +0000 (06:25 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 17 Apr 2008 06:25:00 +0000 (06:25 +0000)
commitd6293867fec8669737aeacfdfaaec0dd1eaf1b0a
tree1412be3d96d0bb7b12923f31c97893ddcf58cc5d
parent3dbbe898b34508489e6594cf34fffa97a056e841
Fixed behaviour of make -k if there is an error in a subdirectory

The previous implementation of recursive invocation of make in
subdirectories didn't obey the -k flag. If there was an error in some
subdirectory, the other directories were not made.

This patch creates a separate targets for each subdirectory and pass and
add them as a dependencies to the main pass target. This way the
compilation errors are handled correctly with the -k flag.

darcs-hash:20080417062508-f2ef6-d049eff642e8c33ee1822d8b321bf1365ed80869.gz
12 files changed:
snippets/base
snippets/linux
snippets/sdcc
snippets/sysless
snippets/vxworks
tests/ignore_errors/Makefile [new file with mode: 0644]
tests/ignore_errors/Makefile.omk [new file with mode: 0644]
tests/ignore_errors/error/Makefile [new file with mode: 0644]
tests/ignore_errors/error/Makefile.omk [new file with mode: 0644]
tests/ignore_errors/ok/Makefile [new file with mode: 0644]
tests/ignore_errors/ok/Makefile.omk [new file with mode: 0644]
tests/ignore_errors/runtest [new file with mode: 0755]