blob: be35359e8c5c4820bbaeddefe69fe7eaf7b9d67b [file] [log] [blame]
Paul Brook1ad21342009-05-19 16:17:58 +01001# Makefile for qemu target independent devices.
2
Paul Brook1ad21342009-05-19 16:17:58 +01003include ../config-host.mak
Juan Quintela1f3d3c82009-10-07 02:41:02 +02004include ../config-all-devices.mak
Juan Quintelaf36fc7a2009-07-27 16:12:50 +02005include config.mak
Paul Brook1ad21342009-05-19 16:17:58 +01006include $(SRC_PATH)/rules.mak
7
8.PHONY: all
9
Paolo Bonzini076d2472009-12-21 10:06:55 +010010$(call set-vpath, $(SRC_PATH):$(SRC_PATH)/hw)
Paul Brook1ad21342009-05-19 16:17:58 +010011
Juan Quintela6c903612009-08-03 14:46:23 +020012QEMU_CFLAGS+=-I.. -I$(SRC_PATH)/fpu
Paul Brook1ad21342009-05-19 16:17:58 +010013
Andreas Färber0e8c9212010-01-06 20:24:05 +010014include $(SRC_PATH)/Makefile.objs
Paul Brook1ad21342009-05-19 16:17:58 +010015
Andreas Färber0e8c9212010-01-06 20:24:05 +010016all: $(hw-obj-y)
Paul Brookc2fb2632009-05-25 18:54:53 +010017# Dummy command so that make thinks it has done something
18 @true
Paul Brook1ad21342009-05-19 16:17:58 +010019
Paul Brook1ad21342009-05-19 16:17:58 +010020clean:
21 rm -f *.o *.d *.a *~
22
23# Include automatically generated dependency files
24-include $(wildcard *.d */*.d)