22 lines
427 B
Makefile
22 lines
427 B
Makefile
CXXFLAGS+= -std=c++23 -O3
|
|
|
|
CXXFLAGS+= -I /usr/local/include
|
|
CXXFLAGS+= -I .
|
|
|
|
LDFLAGS+= -Wl,-rpath,'$$ORIGIN/'
|
|
|
|
all: passgen pingen
|
|
|
|
passgen: libalepha.so
|
|
|
|
.PHONY: __build_alepha
|
|
|
|
libalepha.so:
|
|
mkdir -p build_alepha
|
|
cd build_alepha; cmake -GNinja -DCMAKE_BUILD_TYPE=Release ../Alepha; cp ../Alepha/helpful-things/Makefile .; make
|
|
cp build_alepha/libalepha.so .
|
|
|
|
clean:
|
|
rm -f passgen pingen
|
|
rm -fR build_alepha libalepha.so
|