ia64/xen-unstable

view tools/xenpmd/Makefile @ 19532:ec77efc14f2f

xenpmd: Explicit build rule.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 09 17:22:44 2009 +0100 (2009-04-09)
parents bd78714b8594
children
line source
1 XEN_ROOT=../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 CFLAGS += -Werror
5 CFLAGS += $(CFLAGS_libxenstore)
6 LDFLAGS += $(LDFLAGS_libxenstore)
8 BIN = xenpmd
10 .PHONY: all
11 all: $(BIN)
13 .PHONY: install
14 install: all
15 $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
16 $(INSTALL_PROG) $(BIN) $(DESTDIR)$(SBINDIR)
18 .PHONY: clean
19 clean:
20 $(RM) -f $(BIN) $(DEPS)
22 %: %.c Makefile
23 $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
25 -include $(DEPS)