summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-21 18:12:52 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-21 18:12:52 +0000
commit17759187b64c59096313ac4455b157a89990ad83 (patch)
tree2f9991c2f55783c77312cbb3d36f5d8b0c65d55a /Makefile.target
parent807544e27d868c5b9ac7f4a0f0a325bc8ceb77f3 (diff)
Introduce rules.mak (Avi Kivity)
Add a file for common makefile rules. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6378 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.target b/Makefile.target
index 5f41a3d621..b6d5590f0e 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -1,4 +1,5 @@
include config.mak
+include $(SRC_PATH)/rules.mak
TARGET_BASE_ARCH:=$(TARGET_ARCH)
ifeq ($(TARGET_ARCH), x86_64)
@@ -731,12 +732,6 @@ else
$(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)
endif
-%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
-
-%.o: %.S
- $(CC) $(CPPFLAGS) -c -o $@ $<
-
clean:
rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o
rm -f *.d */*.d tcg/*.o