Win32: Reduce section alignment for Windows.
[armpft.git] / Makefile.hw
blob6accb3bc72ccdf692f34276231dc3a58e2e9a7a1
1 # Makefile for qemu target independent devices.
3 include config.mak
4 include ../config-host.mak
5 include $(SRC_PATH)/rules.mak
7 .PHONY: all
9 VPATH=$(SRC_PATH):$(SRC_PATH)/hw
11 CFLAGS += $(OS_CFLAGS) $(ARCH_CFLAGS)
12 LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
14 CPPFLAGS += -I. -I.. -I$(SRC_PATH) -MMD -MP -MT $@
15 CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
16 CPPFLAGS+=-I$(SRC_PATH)/fpu
18 OBJS=
19 OBJS+= virtio.o virtio-pci.o
20 OBJS+= fw_cfg.o
21 OBJS+= watchdog.o
22 OBJS+= nand.o ecc.o
24 OBJS+= m48t59.o escc.o
26 # SCSI layer
27 OBJS+= lsi53c895a.o esp.o
29 OBJS+= dma-helpers.o sysbus.o
31 all: $(HWLIB)
32 # Dummy command so that make thinks it has done something
33         @true
35 $(HWLIB): $(OBJS)
37 clean:
38         rm -f *.o *.d *.a *~
40 # Include automatically generated dependency files
41 -include $(wildcard *.d */*.d)