Files
xen/tools/tests/Makefile
T
kaf24@firebug.cl.cam.ac.uk 4c5eeec983 bitkeeper revision 1.1236.18.1 (422f27c9EveZXnXhkLBg8iYwaAffoQ)
Begin integrating new instruction decoder and emulator.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-09 16:43:53 +00:00

23 lines
427 B
Makefile

XEN_ROOT=../..
include $(XEN_ROOT)/tools/Rules.mk
TARGET := test_x86_emulator
CC := gcc
CFLAGS := -O2 -Wall -Werror -D__TEST_HARNESS__
$(TARGET): x86_emulate.o test_x86_emulator.o
$(CC) -o $@ $^
clean:
rm -rf $(TARGET) *.o *~ core
install:
x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
$(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
%.o: %.c
$(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<