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

Add xen and xen-common

File size: 415 bytes
Line 
1XEN_ROOT=../../..
2include $(XEN_ROOT)/tools/Rules.mk
3
4CFLAGS  += -Werror
5
6HDRS     = $(wildcard *.h)
7OBJS     = $(patsubst %.c,%.o,$(wildcard *.c))
8
9BIN      = lomount
10
11.PHONY: all
12all: build
13
14.PHONY: build
15build: $(BIN)
16
17.PHONY: install
18install: build
19        $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)/usr/bin
20
21.PHONY: clean
22clean:
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.