sd/milkymist-memcard: Fix error API violation
[qemu.git] / tests / plugin / Makefile
blob3a50451428b4c395ece60bd16a971c5a87e04bdc
1 BUILD_DIR := $(CURDIR)/../..
3 include $(BUILD_DIR)/config-host.mak
4 include $(SRC_PATH)/rules.mak
6 $(call set-vpath, $(SRC_PATH)/tests/plugin)
8 NAMES :=
9 NAMES += bb
10 NAMES += empty
11 NAMES += insn
12 NAMES += mem
13 NAMES += hotblocks
14 NAMES += howvec
15 NAMES += hotpages
16 NAMES += lockstep
18 SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES)))
20 QEMU_CFLAGS += -fPIC -Wpsabi
21 QEMU_CFLAGS += -I$(SRC_PATH)/include/qemu
23 all: $(SONAMES)
25 lib%.so: %.o
26 $(CC) -shared -Wl,-soname,$@ -o $@ $^ $(LDLIBS)
28 clean:
29 rm -f *.o *.so *.d
30 rm -Rf .libs
32 .PHONY: all clean