aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/lomount/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/lomount/Makefile')
-rw-r--r--tools/misc/lomount/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/misc/lomount/Makefile b/tools/misc/lomount/Makefile
index 67636a8cb1..1d6d00cf5e 100644
--- a/tools/misc/lomount/Makefile
+++ b/tools/misc/lomount/Makefile
@@ -3,16 +3,11 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
-HDRS = $(wildcard *.h)
-OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
-
-BIN = lomount
-
.PHONY: all
all: build
.PHONY: build
-build: $(BIN)
+build: lomount
.PHONY: install
install install-recurse: build
@@ -22,6 +17,7 @@ install install-recurse: build
clean:
$(RM) *.a *.so *.o *.rpm $(BIN)
-%: %.c $(HDRS) Makefile
+lomount: lomount.o
$(CC) $(CFLAGS) -o $@ $<
+-include $(DEPS) \ No newline at end of file