chmod service

This commit is contained in:
anon 2023-12-17 13:48:41 +01:00
parent 695eec653c
commit ff7d40fc5d

View File

@ -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}