aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/lomount/Makefile
blob: b0afe660ab36819a0cb7ebc6b1b7ba7f2bd84e28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
XEN_ROOT=$(CURDIR)/../../..
include $(XEN_ROOT)/tools/Rules.mk

CFLAGS  += -Werror

.PHONY: all
all: build

.PHONY: build
build: lomount

.PHONY: install
install install-recurse: build
	$(INSTALL_PROG) lomount $(SCRIPTS) $(DESTDIR)$(BINDIR)

.PHONY: clean
clean:
	$(RM) *.o lomount

lomount: lomount.o
	$(CC) $(CFLAGS) -o $@ $< 

-include $(DEPS)