From db6cb69394a7618532791af801e65a2f32e54c98 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 15 Feb 2016 15:26:55 +0300 Subject: build: Move everything criu related into criu directory Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- lib/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index f07e07b90..d1b045059 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -15,11 +15,11 @@ c/built-in.o: $(call msg-gen, $@) $(Q) $(MAKE) $(build)=c all -ccflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR) +cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR) ldflags-so += -lprotobuf-c c/$(CRIU_SO): c/built-in.o $(call msg-link, $@) - $(Q) $(CC) -shared $(ccflags-so) -o $@ $^ $(ldflags-so) $(LDFLAGS) + $(Q) $(CC) -shared $(cflags-so) -o $@ $^ $(ldflags-so) $(LDFLAGS) lib-c: c/$(CRIU_SO) PHONY += lib-c @@ -40,3 +40,5 @@ clean: all: $(PHONY) @true PHONY += all + +.PHONY: $(PHONY) clean -- cgit v1.2.3