Outside declaration of botan path
This commit is contained in:
parent
f3743942ee
commit
fa4d961574
5
Makefile
5
Makefile
@ -1,6 +1,7 @@
|
|||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -std=c++17 -I/usr/local/include/botan-2/ -lbotan-2
|
CXXFLAGS = -std=c++17 -lbotan-2
|
||||||
RUN = ./
|
RUN = ./
|
||||||
|
BOTAN_PATH = /usr/local/include/botan-2/
|
||||||
LD_LIBRARY_PATH = /usr/local/lib
|
LD_LIBRARY_PATH = /usr/local/lib
|
||||||
|
|
||||||
.PHONY: all clean build run
|
.PHONY: all clean build run
|
||||||
@ -8,7 +9,7 @@ LD_LIBRARY_PATH = /usr/local/lib
|
|||||||
all: build run
|
all: build run
|
||||||
|
|
||||||
build: example.cpp
|
build: example.cpp
|
||||||
$(CXX) example.cpp $(CXXFLAGS) -o example
|
$(CXX) example.cpp $(CXXFLAGS) -I$(BOTAN_PATH) -o example
|
||||||
run:
|
run:
|
||||||
$(RUN)example
|
$(RUN)example
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user