diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-02 15:06:29 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-02 15:06:29 +0100 |
commit | 518e1001737d4bdd2abbc1bc00d7120c6f92af57 (patch) | |
tree | 80c270b4cbe78d952661cabedb94c938ca0774b8 /xen/Rules.mk | |
parent | 8f84603260b78eec6ab65ae4be493083171bc276 (diff) | |
download | xen-518e1001737d4bdd2abbc1bc00d7120c6f92af57.tar.gz xen-518e1001737d4bdd2abbc1bc00d7120c6f92af57.tar.bz2 xen-518e1001737d4bdd2abbc1bc00d7120c6f92af57.zip |
[XEN] Allow quick building of individual files.
For the purpose of quick compile testing of (namely smaller) changes,
provide a
means to build individual pieces underneath the xen dir (could equally
be applied
to tools, and the top level Makefile could also be made aware of this
logic to
make things even more consistent). At once, add a way to only
pre-process files
in case some of the more complicated macros need change and hence
inspection
of the results.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r-- | xen/Rules.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk index 17a0eb04aa..15c0af3cc1 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -105,3 +105,9 @@ _clean_%/: FORCE %.o: %.S $(HDRS) Makefile $(CC) $(CFLAGS) $(AFLAGS) -c $< -o $@ + +%.i: %.c $(HDRS) Makefile + $(CPP) $(CFLAGS) $< -o $@ + +%.s: %.S $(HDRS) Makefile + $(CPP) $(CFLAGS) $(AFLAGS) $< -o $@ |