From 6ad52a70dc75ebfc1043e812d9ac1145a4431b2d Mon Sep 17 00:00:00 2001 From: Fabio M. Di Nitto Date: Oct 09 2012 07:28:03 +0000 Subject: fence_sanlock: fix build to be selfcontained Signed-off-by: Fabio M. Di Nitto --- diff --git a/fence_sanlock/Makefile b/fence_sanlock/Makefile index 99a9a5a..6666796 100644 --- a/fence_sanlock/Makefile +++ b/fence_sanlock/Makefile @@ -24,14 +24,14 @@ CFLAGS += -D_GNU_SOURCE -g \ -fdiagnostics-show-option VER=$(shell cat ../VERSION) -CFLAGS += -DVERSION=\"$(VER)\" +CFLAGS += -DVERSION=\"$(VER)\" -I../src -I../wdmd LDFLAGS = -lrt -laio -lblkid -lsanlock -lwdmd all: $(TARGET1) $(TARGET2) $(TARGET1): $(SOURCE1) - $(CC) $(CFLAGS) $(LDFLAGS) $(SOURCE1) -o $@ -L. -L../src + $(CC) $(CFLAGS) $(LDFLAGS) $(SOURCE1) -o $@ -L. -L../src -L../wdmd $(TARGET2): $(SOURCE2) cat $(SOURCE2) | sed \