X-Git-Url: http://nitlanguage.org diff --git a/Makefile b/Makefile index e7cae2b..3ca637e 100644 --- a/Makefile +++ b/Makefile @@ -14,15 +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) +all_contribs = $(dir $(wildcard $(contrib_dir)/*/Makefile)) # Additional program directories (contrib and examples) that are buildable extras = $(filter-out $(contrib_dir)/nitc/,$(all_contribs)) -extras += $(dir $(examples_dir)/*/Makefile) +extras += $(dir $(wildcard $(examples_dir)/*/Makefile)) all: tools man @echo ""