Changeset 46 for trunk/src/kmk/testcase


Ignore:
Timestamp:
Apr 4, 2003, 2:03:50 AM (22 years ago)
Author:
bird
Message:

kMk changes. Made extensions configurable from config.h. fixed parents.

Location:
trunk/src/kmk/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/testcase/parent.kMk

    r45 r46  
     1# infernece rules.
     2.SUFFIXES: .c .o .obj
     3.c.obj:
     4        echo compiling $< into $@ for $(.PARENTS) while .IMPSRC is $(.IMPSRC)
    15
     6# the rules/targets.
    27all: parent
    38
     9parent: child child2
     10    echo "parent: $(.PARENTS)"
    411
    5 parent: child
    6     echo parent: ${.PARENTS}
     12child: arch.obj
     13        echo "child: .PARENTS = $(.PARENTS)"
     14        echo "child: .TARGET  = $(.TARGET)"
     15        echo "child: .IMPSRC  = $(.IMPSRC)"
    716
    817
    9 child:
    10     echo child: ${.PARENTS}
    11 
    12 
     18child2: arch.obj hash.obj
     19        echo "child2: .PARENTS = $(.PARENTS)"
     20        echo "child2: .TARGET  = $(.TARGET)"
     21        echo "child2: .IMPSRC  = $(.IMPSRC)"
     22               
  • trunk/src/kmk/testcase/smoketest.kMk

    r45 r46  
    22
    33
    4 notall: # comment
     4notall:     # comment
    55    echo notall, but it's the first rule.
    66
     7
     8#.MAIN: all
    79
    810all:
Note: See TracChangeset for help on using the changeset viewer.