diff options
-rwxr-xr-x | signer/Makefile | 2 | ||||
-rwxr-xr-x | signlk.sh | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/signer/Makefile b/signer/Makefile index ebf5f4e..df787c2 100755 --- a/signer/Makefile +++ b/signer/Makefile @@ -1,5 +1,5 @@ CXX=g++ -cur-dir := $(mfile_path) +cur-dir := $(shell pwd) ELFIODIR=${cur-dir}/ELFIO/elfio/ SOURCES=${cur-dir}/signlk.cpp CPPFLAGS=-c -Wall -std=c++0x -I$(cur-dir)/ELFIO/ @@ -108,8 +108,7 @@ if [ ! "$(g++ --version)" ]; then exit 8 fi -export mfile_path=$DIR/signer -make -f $mfile_path/Makefile +make -C $DIR/signer if [ "$?" != 0 ]; then echo " failed to build executable" |