]> git.proxmox.com Git - qemu.git/blame - Makefile.user
oss: workaround for cases when OSS_GETVERSION is not defined
[qemu.git] / Makefile.user
CommitLineData
add16157
BS
1# Makefile for qemu target independent user files.
2
3include ../config-host.mak
4include $(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
13vpath %.c %.h $(SRC_PATH)
add16157
BS
14
15QEMU_CFLAGS+=-I..
16
0e8c9214 17include $(SRC_PATH)/Makefile.objs
add16157 18
0e8c9214 19all: $(user-obj-y)
add16157
BS
20# Dummy command so that make thinks it has done something
21 @true
22
add16157
BS
23clean:
24 rm -f *.o *.d *.a *~
25
26# Include automatically generated dependency files
27-include $(wildcard *.d */*.d)