aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/lomount/Makefile
blob: 1d6d00cf5e6f9f2a16f4797cc12f353ebd6a27d9 (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) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)

.PHONY: clean
clean:
	$(RM) *.a *.so *.o *.rpm $(BIN)

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

-include $(DEPS)