From 7d8f065ec99d3c778b224096afa1bbb6bd695905 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 28 Dec 2020 14:57:09 +0100 Subject: [PATCH] Add compile-debian target --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 16086e2..61f809b 100644 --- a/Makefile +++ b/Makefile @@ -9,5 +9,11 @@ compile: @mkdir -p bin gcc src/necronda-server.c -o bin/necronda-server -std=c11 -lssl -lcrypto -lmagic -lz +compile-debian: + @mkdir -p bin + gcc src/necronda-server.c -o bin/necronda-server -std=c11 -lssl -lcrypto -lmagic -lz \ + -D MAGIC_FILE="\"/usr/share/file/magic.mgc\"" \ + -D PHP_FPM_SOCKET="\"/var/run/php/php7.3-fpm.sock\"" + install: | packages compile @echo "Finished!"