From: ken Date: Tue, 27 Sep 2016 03:41:52 +0000 (-0700) Subject: fixt2 X-Git-Url: https://git.kengrimes.com/?p=henge%2Fwebcc.git;a=commitdiff_plain;h=deda38ab3d5e821968f51f19d8c510586cd8434e fixt2 --- diff --git a/src/Makefile b/src/Makefile index e718a01..e811fb0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -105,7 +105,7 @@ endef define PREMAKE_SOURCE_COMPILER = # Find the sources for each source-to-source language $(foreach slang,$(SLANGS), -$(eval SLANG_SRC := $(patsubst ./%,%,$(shell find -name "*.$(slang)"))) +$(eval SLANG_SRC := $(patsubst ./%,%,$(filter-out .%,$(shell find -name "*.$(slang)")))) # Foreach target type in the source-to-source language, add this source's # targets to the list of the current source-to-source language targets $(foreach trg,$($(slang)_TRG), @@ -133,6 +133,7 @@ $(eval BUILDGOALS := $(filter-out clean scrub purge uninstall,$(MAKECMDGOALS))), $(eval BUILDGOALS := all)) $(if $(and $(BUILDGOALS),$(filter $(OLDER_TIME),$(NEWEST_TRG_TIME))), $(eval SHELL_CMD := cd $(dir $(src)) && $($(slang)_C) $($(slang)_FLAGS) $(notdir $(src))) +$(info SHELL_CMD := cd $(dir $(src)) && $($(slang)_C) $($(slang)_FLAGS) $(notdir $(src))) $(info $(SHELL_CMD) $(shell $(SHELL_CMD))) ) # Put these targets on the MAKE_TARGETS list to be removed during "clean",