jwtcpp icon indicating copy to clipboard operation
jwtcpp copied to clipboard

Make install ?

Open 0x003e opened this issue 8 years ago • 0 comments

Hi, Firstly, thank you for your JWT implementation in C++.

git clone https://github.com/almet/jwtcpp
cd jwtcpp

The rule "install" not exist in the Makefile.

make install
make: *** No rule to make target 'install'.  Stop.
cd src
make install
make: *** No rule to make target 'install'.  Stop.

Makefile content:

cat Makefile 
all: all_src

all_src:
    $(MAKE) -C src
cat src/Makefile
BINARIES = jwtcpp tests
SOURCES = jwt.cpp utils.cpp
TARGETS = $(BINARIES)

LINK.o = g++

CFLAGS += -Werror -pedantic

CXXFLAGS += $(CFLAGS)

.PHONY : clean

all: $(TARGETS)

jwtcpp: clean
    g++ -o jwtcpp jwt.cpp utils.cpp -ljansson -lcryptopp -lpthread $(CXXFLAGS)

tests: clean
    g++ -o tests jwt.cpp utils.cpp tests.cpp -ljansson -lcryptopp -lpthread -lunittest++ $(CXXFLAGS)

clean: 
    rm -f *.exe* *.o $(TARGETS) *.bak *~

0x003e avatar Jul 24 '16 14:07 0x003e