Merge: makefiles: Remove dead code
authorJean Privat <jean@pryen.org>
Mon, 8 May 2017 20:05:33 +0000 (16:05 -0400)
committerJean Privat <jean@pryen.org>
Mon, 8 May 2017 20:05:33 +0000 (16:05 -0400)
Extracted from PR #2201.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

Pull-Request: #2419

1  2 
Makefile

diff --cc Makefile
+++ b/Makefile
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
- NITCOPT=
  
 +contrib_dir = ./contrib
 +examples_dir = ./examples
 +all_contribs = $(dir $(contrib_dir)/*/Makefile)
 +
  # Additional program directories (contrib and examples) that are buildable
 -PROGS=$(dir $(wildcard examples/*/Makefile contrib/*/Makefile))
 +extras = $(filter-out $(contrib_dir)/nitc/,$(all_contribs))
 +extras += $(dir $(examples_dir)/*/Makefile)
  
  all: tools man
        @echo ""