mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
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>
23 lines
404 B
Makefile
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 $@ $<
|