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:
Wei Liu committed 2017-02-06 10:15:49 +00:00
1 parent 9b7543f32c
commit 409bd5a02e
1 file changed
+4 -2
+4 -2
View File
@@ -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 $@ $^
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.