debuggers.hg

view tools/misc/lomount/Makefile @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
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 $@ $<