Last change
on this file since 151 was 46, checked in by bird, 22 years ago |
kMk changes. Made extensions configurable from config.h. fixed parents.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
482 bytes
|
Line | |
---|
1 | # infernece rules.
|
---|
2 | .SUFFIXES: .c .o .obj
|
---|
3 | .c.obj:
|
---|
4 | echo compiling $< into $@ for $(.PARENTS) while .IMPSRC is $(.IMPSRC)
|
---|
5 |
|
---|
6 | # the rules/targets.
|
---|
7 | all: parent
|
---|
8 |
|
---|
9 | parent: child child2
|
---|
10 | echo "parent: $(.PARENTS)"
|
---|
11 |
|
---|
12 | child: arch.obj
|
---|
13 | echo "child: .PARENTS = $(.PARENTS)"
|
---|
14 | echo "child: .TARGET = $(.TARGET)"
|
---|
15 | echo "child: .IMPSRC = $(.IMPSRC)"
|
---|
16 |
|
---|
17 |
|
---|
18 | child2: arch.obj hash.obj
|
---|
19 | echo "child2: .PARENTS = $(.PARENTS)"
|
---|
20 | echo "child2: .TARGET = $(.TARGET)"
|
---|
21 | echo "child2: .IMPSRC = $(.IMPSRC)"
|
---|
22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.