commit dc7c7582abd1fac3cdbb6068999bc8126bb3848b parent 21abe4f408d582c26ba69a115fec14f778d97563 Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu> Date: Wed, 27 Apr 2016 11:27:46 -0400 Sanitize Makefile. Diffstat:
| M | Makefile | | | 13 | +++++++++---- |
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,6 +1,11 @@ -build: clean - cc irc.c -o irc -lncurses -Wall -std=c99 -Os - strip irc +BIN = irc + +CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 +LDFLAGS = -lncurses + +all: ${BIN} clean: - rm -f irc + rm -f ${BIN} *.o + +.PHONY: all clean