Ignore:
Timestamp:
Oct 25, 2008, 12:24:02 AM (17 years ago)
Author:
bird
Message:

kmk: Implemented lazy resolving of $+, $, $? and $|. This saves > 30% memory and also a bit of time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/variable.c

    r1932 r1934  
    14101410  define_variable ("^F", 2, "$(notdir $^)", o_automatic, 1);
    14111411  define_variable ("+F", 2, "$(notdir $+)", o_automatic, 1);
     1412#ifdef CONFIG_WITH_LAZY_DEPS_VARS
     1413  define_variable ("^", 1, "$(deps $@)", o_automatic, 1);
     1414  define_variable ("+", 1, "$(deps-all $@)", o_automatic, 1);
     1415  define_variable ("?", 1, "$(deps-newer $@)", o_automatic, 1);
     1416  define_variable ("|", 1, "$(deps-oo $@)", o_automatic, 1);
     1417#endif /* CONFIG_WITH_LAZY_DEPS_VARS */
    14121418}
    14131419
Note: See TracChangeset for help on using the changeset viewer.