It is working

This commit is contained in:
2018-07-10 10:26:09 +02:00
parent 87c90d1616
commit 63932814a0
6 changed files with 22 additions and 52 deletions

View File

@ -5,11 +5,18 @@ packages:
sudo apt-get install g++ libmagic-dev libssl-dev php-cgi
@echo "Finished downloading!"
update:
@echo "Updating imported git repos..."
cd CppNet
git pull
cd ..
@echo "Finished updating!"
compile:
@echo "Compiling..."
@mkdir -p bin
g++ src/necronda-server.cpp -o bin/necronda-server -std=c++17 -fPIC -pthread -lz -lmagic -lssl -ldl -lcrypto
@echo "Finished compiling!"
install: | packages compile
install: | packages update compile
@echo "Finished!"