Integrate Alepha.
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "Alepha"]
|
||||||
|
path = Alepha
|
||||||
|
url = https://gitea.nerdland.org/alepha/Alepha
|
||||||
1
Alepha
Submodule
1
Alepha
Submodule
Submodule Alepha added at de94ae4d08
14
Makefile
14
Makefile
@ -1,7 +1,19 @@
|
|||||||
CXXFLAGS+= -std=c++17 -O3
|
CXXFLAGS+= -std=c++17 -O3
|
||||||
CXXFLAGS+= -I /usr/local/include
|
CXXFLAGS+= -I /usr/local/include
|
||||||
|
|
||||||
|
LDFLAGS+= -Wl,-rpath,'$$ORIGIN/'
|
||||||
|
|
||||||
all: passgen pingen
|
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:
|
clean:
|
||||||
rm -f passgen
|
rm -f passgen pingen
|
||||||
|
rm -fR build_alepha libalepha.so
|
||||||
|
|||||||
Reference in New Issue
Block a user