mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
fuzz/x86emul: use macro to reduce repetition in Makefile
Signed-off-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
9b7543f32c
commit
409bd5a02e
1 file changed
+4
-2
@@ -16,9 +16,11 @@ x86_emulate.c x86_emulate.h: %:
|
||||
|
||||
CFLAGS += $(CFLAGS_xeninclude) -D__XEN_TOOLS__
|
||||
|
||||
x86_emulate.o: x86_emulate.c x86_emulate.h x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h
|
||||
x86_emulate.h := x86_emulate.h x86_emulate/x86_emulate.h
|
||||
|
||||
x86-insn-emulator-fuzzer.o: x86_emulate.h x86_emulate/x86_emulate.h
|
||||
x86_emulate.o: x86_emulate.c x86_emulate/x86_emulate.c $(x86_emulate.h)
|
||||
|
||||
x86-insn-emulator-fuzzer.o: $(x86_emulate.h)
|
||||
|
||||
x86-insn-emulator.a: x86_emulate.o
|
||||
$(AR) rc $@ $^
|
||||
|
||||