diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2016-02-15 15:26:55 +0300 |
---|---|---|
committer | Pavel Emelyanov <xemul@virtuozzo.com> | 2016-02-15 15:32:45 +0300 |
commit | db6cb69394a7618532791af801e65a2f32e54c98 (patch) | |
tree | be12fdabb77ca4e7695e2af184c302a4a992505e /lib/Makefile | |
parent | 3410d39514ae789a7681737dcb297aefe5305b8c (diff) |
build: Move everything criu related into criu directory
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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 |