From ff7d40fc5df66152822ac408ead645d457c907d4 Mon Sep 17 00:00:00 2001 From: anon Date: Sun, 17 Dec 2023 13:48:41 +0100 Subject: [PATCH] chmod service --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8a74843..4e53739 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,12 @@ SOURCE := $(addprefix ${SOURCE.d}, ${SOURCE}) HEADER := config.inc log.h bot.h HEADER := $(addprefix ${SOURCE.d}, ${HEADER}) -${OUT}: ${SOURCE} ${HEADER} +${OUT}: ${CC} ${CFLAGS} -o $@ ${SOURCE} ${LDLIBS} +static: ${SOURCE} ${HEADER} + ${CC} -static ${CFLAGS} $$(pkg-config --libs openssl) -o $@ ${SOURCE} ${LDLIBS} + run: ${OUT} ${OUT} irc.rizon.net:6665 "#/g/test" @@ -31,6 +34,7 @@ test: ${OUT} install: m4 script/hibot.m4 > ${INSTALL_TARGET} + chmod 755 ${INSTALL_TARGET} clean: -rm ${OUT}