source:
trunk/packages/xen-3.1/xen-3.1/tools/misc/lomount/Makefile
@
34
Last change on this file since 34 was 34, checked in by hartmans, 17 years ago | |
---|---|
File size: 415 bytes |
Rev | Line | |
---|---|---|
[34] | 1 | XEN_ROOT=../../.. |
2 | include $(XEN_ROOT)/tools/Rules.mk | |
3 | ||
4 | CFLAGS += -Werror | |
5 | ||
6 | HDRS = $(wildcard *.h) | |
7 | OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) | |
8 | ||
9 | BIN = lomount | |
10 | ||
11 | .PHONY: all | |
12 | all: build | |
13 | ||
14 | .PHONY: build | |
15 | build: $(BIN) | |
16 | ||
17 | .PHONY: install | |
18 | install: build | |
19 | $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)/usr/bin | |
20 | ||
21 | .PHONY: clean | |
22 | clean: | |
23 | $(RM) *.a *.so *.o *.rpm $(BIN) | |
24 | ||
25 | %: %.c $(HDRS) Makefile | |
26 | $(CC) $(CFLAGS) -o $@ $< | |
27 |
Note: See TracBrowser
for help on using the repository browser.