just_simple_cryptography/Makefile

21 lines
357 B
Makefile

CXX = g++
CXXFLAGS = -std=c++17 -lbotan-2
RUN = ./
BOTAN_PATH = /usr/local/include/botan-2/
LD_LIBRARY_PATH = /usr/local/lib
.PHONY: all clean build run
all: build run
build: example.cpp
$(CXX) example.cpp $(CXXFLAGS) -I$(BOTAN_PATH) -o example
run:
$(RUN)example
run_python:
LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) python example.py
clean:
rm -f *.pem