From a417efdece7dc9ab312e80ec1b0d051fd9431183 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner <lorenz.stechauner@necronda.net> Date: Wed, 9 Dec 2020 19:23:55 +0100 Subject: [PATCH] Updated Makefile --- Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index d67b56e..ffd2032 100644 --- a/Makefile +++ b/Makefile @@ -2,20 +2,13 @@ packages: @echo "Installing packages..." - sudo apt-get install g++ libmagic-dev libssl-dev php-cgi + sudo apt-get install gcc 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 + gcc src/necronda-server.c -o bin/necronda-server -std=c11 -fPIC -pthread -lz -lmagic -lssl -ldl -lcrypto @echo "Finished compiling!" install: | packages update compile