Makefile: Fixes #35
authorAaron Marcher <info@nulltime.net>
Mon, 9 Jan 2017 07:24:26 +0000 (08:24 +0100)
committerAaron Marcher <info@nulltime.net>
Mon, 9 Jan 2017 07:24:26 +0000 (08:24 +0100)
Makefile

index afdbcdfdc0d48c65684c1bc76b11d77ba56ebd93..38712c59ba3eb3cbefdf16ca1c8b85bf4a0201f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@ NAME=slstatus
 
 all: ${NAME}
 
+${NAME}:
+       ${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS}
+
 clean:
        rm -f ${NAME}