ia64/xen-unstable

view tools/misc/lomount/Makefile @ 8740:3d7ea7972b39

Update patches for linux 2.6.15.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Thu Feb 02 17:16:00 2006 +0000 (2006-02-02)
parents cd95b96a172e
children 7e68bc2745af
line source
1 INSTALL = install
2 INSTALL_PROG = $(INSTALL) -m0755
3 INSTALL_DIR = $(INSTALL) -d -m0755
4 INSTALL_DATA = $(INSTALL) -m0644
6 XEN_ROOT=../../..
7 include $(XEN_ROOT)/tools/Rules.mk
9 CFLAGS += -Wall -Werror -O3
11 HDRS = $(wildcard *.h)
12 OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
14 BIN = lomount
16 all: build
17 build: $(BIN)
19 install: build
20 $(INSTALL_PROG) $(BIN) $(SCRIPTS) $(DESTDIR)/usr/bin
22 clean:
23 $(RM) *.a *.so *.o *.rpm $(BIN)
25 %: %.c $(HDRS) Makefile
26 $(CC) $(CFLAGS) -o $@ $<