From: Jean Privat Date: Mon, 8 May 2017 20:05:33 +0000 (-0400) Subject: Merge: makefiles: Remove dead code X-Git-Url: http://nitlanguage.org Merge: makefiles: Remove dead code Extracted from PR #2201. Signed-off-by: Jean-Christophe Beaupré Pull-Request: #2419 --- a0f5868373d875eab5afba9de33301b80b5df35f diff --cc Makefile index e7cae2b,d517613..44acb6a --- a/Makefile +++ b/Makefile @@@ -14,15 -14,9 +14,14 @@@ # 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 ""