ia64/xen-unstable

view tools/tests/Makefile @ 8097:7363637e2721

merge

Keir did a similar change earlier, but my version removed some special case
code as well, now that __gpfn_to_mfn() can protect itself.
author Michael.Fetterman@cl.cam.ac.uk
date Mon Nov 28 15:22:47 2005 +0100 (2005-11-28)
parents a01199a95070
children c259492dfb43
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 TARGET := test_x86_emulator
7 CC := gcc
8 CFLAGS := -O2 -Wall -Werror -D__TEST_HARNESS__
10 $(TARGET): x86_emulate.o test_x86_emulator.o
11 $(CC) -o $@ $^
13 clean:
14 rm -rf $(TARGET) *.o *~ core
16 install:
18 x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
19 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
21 %.o: %.c
22 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<