Files
xen/tools/misc/miniterm/Makefile
T
Keir Fraser 547cb1849c build: Make XEN_ROOT an absolute path.
Otherwise make can search the path relative to certain standard paths
such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in
Config.mk suffers from this).

Signed-off-by: Keir Fraser <keir@xen.org>
2011-03-17 10:36:25 +00:00

23 lines
404 B
Makefile

XEN_ROOT:=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk
TARGET = miniterm
.PHONY: all
all: $(TARGET)
.PHONY: install
install: all
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
$(INSTALL_PROG) $(TARGET) $(DESTDIR)$(BINDIR)
.PHONY: install-recurse
: No sense in installing miniterm on the Xen box.
.PHONY: clean
clean:
$(RM) *.o $(TARGET) *~
$(TARGET): $(TARGET).c
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<