chmod service
This commit is contained in:
parent
695eec653c
commit
ff7d40fc5d
6
Makefile
6
Makefile
@ -20,9 +20,12 @@ SOURCE := $(addprefix ${SOURCE.d}, ${SOURCE})
|
|||||||
HEADER := config.inc log.h bot.h
|
HEADER := config.inc log.h bot.h
|
||||||
HEADER := $(addprefix ${SOURCE.d}, ${HEADER})
|
HEADER := $(addprefix ${SOURCE.d}, ${HEADER})
|
||||||
|
|
||||||
${OUT}: ${SOURCE} ${HEADER}
|
${OUT}:
|
||||||
${CC} ${CFLAGS} -o $@ ${SOURCE} ${LDLIBS}
|
${CC} ${CFLAGS} -o $@ ${SOURCE} ${LDLIBS}
|
||||||
|
|
||||||
|
static: ${SOURCE} ${HEADER}
|
||||||
|
${CC} -static ${CFLAGS} $$(pkg-config --libs openssl) -o $@ ${SOURCE} ${LDLIBS}
|
||||||
|
|
||||||
run: ${OUT}
|
run: ${OUT}
|
||||||
${OUT} irc.rizon.net:6665 "#/g/test"
|
${OUT} irc.rizon.net:6665 "#/g/test"
|
||||||
|
|
||||||
@ -31,6 +34,7 @@ test: ${OUT}
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
m4 script/hibot.m4 > ${INSTALL_TARGET}
|
m4 script/hibot.m4 > ${INSTALL_TARGET}
|
||||||
|
chmod 755 ${INSTALL_TARGET}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm ${OUT}
|
-rm ${OUT}
|
||||||
|
Loading…
Reference in New Issue
Block a user