]>
Commit | Line | Data |
---|---|---|
add16157 BS |
1 | # Makefile for qemu target independent user files. |
2 | ||
3 | include ../config-host.mak | |
4 | include $(SRC_PATH)/rules.mak | |
58faa1a6 | 5 | -include config.mak |
add16157 BS |
6 | |
7 | .PHONY: all | |
8 | ||
299060a0 KS |
9 | # Do not take %.o from $(SRC_PATH), only %.c and %.h |
10 | # All %.o for user targets should be built with -fpie, when | |
11 | # configured with --enable-user-pie, so we don't want to | |
12 | # take %.o from $(SRC_PATH), since they built without -fpie | |
13 | vpath %.c %.h $(SRC_PATH) | |
add16157 BS |
14 | |
15 | QEMU_CFLAGS+=-I.. | |
16 | ||
0e8c9214 | 17 | include $(SRC_PATH)/Makefile.objs |
add16157 | 18 | |
0e8c9214 | 19 | all: $(user-obj-y) |
add16157 BS |
20 | # Dummy command so that make thinks it has done something |
21 | @true | |
22 | ||
add16157 BS |
23 | clean: |
24 | rm -f *.o *.d *.a *~ | |
25 | ||
26 | # Include automatically generated dependency files | |
27 | -include $(wildcard *.d */*.d) |