ia64/xen-unstable

view tools/tests/Makefile @ 8740:3d7ea7972b39

Update patches for linux 2.6.15.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Feb 02 17:16:00 2006 +0000 (2006-02-02)
parents c259492dfb43
children e5aba4f62131
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 all: $(TARGET)
12 $(TARGET): x86_emulate.o test_x86_emulator.o
13 $(CC) -o $@ $^
15 clean:
16 rm -rf $(TARGET) *.o *~ core
18 install:
20 x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
21 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
23 %.o: %.c
24 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<