debuggers.hg

view tools/misc/lomount/Makefile @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents 5e03f0bc0aa2
children
line source
1 XEN_ROOT=../../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 CFLAGS += -Werror
6 HDRS = $(wildcard *.h)
7 OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
9 BIN = lomount
11 .PHONY: all
12 all: build
14 .PHONY: build
15 build: $(BIN)
17 .PHONY: install
18 install install-recurse: build
19 $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
21 .PHONY: clean
22 clean:
23 $(RM) *.a *.so *.o *.rpm $(BIN)
25 %: %.c $(HDRS) Makefile
26 $(CC) $(CFLAGS) -o $@ $<