Skip to content
Snippets Groups Projects
Commit 3a42e9d8 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

nodejs: build module after generating bindings

Change-Id: I2170cffef8a14578a61aa81f1ac62928f3fd3662
parent b8366ceb
Branches
Tags
No related merge requests found
include $(top_srcdir)/globals.mk
BUILT_SOURCES= \
ring_wrapper.cpp
ring_wrapper.cpp \
build/Makefile \
build/Release/obj.target/dring.node
ring_wrapper.cpp: jni_interface.i configurationmanager.i managerimpl.i
$(SWIG) -v -c++ -javascript -node -o ring_wrapper.cpp jni_interface.i
build/Makefile: ring_wrapper.cpp binding.gyp
node-gyp configure
build/Release/obj.target/dring.node: build/Makefile ring_wrapper.cpp
node-gyp build
CLEANFILES= \
$(BUILT_SOURCES)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment