aboutsummaryrefslogtreecommitdiffstats
path: root/feeds.conf.default
blob: 8623207b8b3094b314ba657eafa4d42d321ceabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#n20'>20 21 22 23 24
XEN_ROOT=../..
include $(XEN_ROOT)/tools/Rules.mk

TARGET := test_x86_emulator

.PHONY: all
all: $(TARGET)

$(TARGET): x86_emulate.o test_x86_emulator.o
	$(HOSTCC) -o $@ $^

.PHONY: clean
clean:
	rm -rf $(TARGET) *.o *~ core

.PHONY: install
install:

x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
	$(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<

%.o: %.c
	$(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<