Xinqi Bao's Git

Makefile: Fixes #35
authorAaron Marcher <[email protected]>
Mon, 9 Jan 2017 07:24:26 +0000 (08:24 +0100)
committerAaron Marcher <[email protected]>
Mon, 9 Jan 2017 07:24:26 +0000 (08:24 +0100)
Makefile

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