diff options
Diffstat (limited to 'tools/tests/mem-sharing/Makefile')
-rw-r--r-- | tools/tests/mem-sharing/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/tests/mem-sharing/Makefile b/tools/tests/mem-sharing/Makefile new file mode 100644 index 0000000000..135450291f --- /dev/null +++ b/tools/tests/mem-sharing/Makefile @@ -0,0 +1,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) |