aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests/mem-sharing/Makefile
blob: 135450291fe81227629cd615347899f195a442c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk

CFLAGS += -Werror

CFLAGS += $(CFLAGS_libxenctrl)
CFLAGS += $(CFLAGS_xeninclude)

TARGETS-y := 
TARGETS-$(CONFIG_X86) += memshrtool
TARGETS := $(TARGETS-y)

.PHONY: all
all: build

.PHONY: build
build: $(TARGETS)

.PHONY: clean
clean:
	$(RM) *.o $(TARGETS) *~ $(DEPS)

memshrtool: memshrtool.o
	$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)

-include $(DEPS)