mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk, rules.mk: Add MAKEFLAGS += -r
This disables implicit rules and should speed up the build a tad. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6d8ae11087
commit
d4581f488a
2 changed files with 6 additions and 1 deletions
|
|
@ -309,6 +309,9 @@ $(FLAVOUR_PREFIX)%.o: %.c
|
|||
$(FLAVOUR_PREFIX)%.o: %.S
|
||||
$(CC) $(BUILD_CFLAGS) -c $< -o $@
|
||||
|
||||
$(LIB_A)(%.o): %.o
|
||||
$(AR) cr $(LIB_A) $<
|
||||
|
||||
timers_%.h: %.h $(GENERATE_FUNC_TIMERS)
|
||||
sh $(GENERATE_FUNC_TIMERS) $< $@
|
||||
|
||||
|
|
@ -388,7 +391,7 @@ $$(TOPDIR)/dir_install_$(1).done:
|
|||
mkdir -p $$(INSTALL_$(1)DIR)
|
||||
touch $$@
|
||||
|
||||
$$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done
|
||||
$$(BUILD_$(1)DIR)/%: % | $$(TOPDIR)/dir_build_$(1).done
|
||||
@if [ ! $$< -ef $$@ -a "`echo $$< | $(SED) 's/\..*//'`" != local ]; then \
|
||||
echo install -p -m $($(1)MODE) $$< $$@ ;\
|
||||
install -p -m $($(1)MODE) $$< $$@ ;\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue