Xinqi Bao's Git

Makefile: Fixes #35
[slstatus.git] / Makefile
index afdbcdf..38712c5 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}