projects
/
henge
/
webcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
24e03a8
)
fixt2
author
ken
<ken@mihrtec.com>
Tue, 27 Sep 2016 03:41:52 +0000
(20:41 -0700)
committer
ken
<ken@mihrtec.com>
Tue, 27 Sep 2016 03:41:52 +0000
(20:41 -0700)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
e718a01
..
e811fb0
100644
(file)
--- 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),
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),
# 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)))
$(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",
$(info $(SHELL_CMD) $(shell $(SHELL_CMD)))
)
# Put these targets on the MAKE_TARGETS list to be removed during "clean",