Introduction
Introduction Statistics Contact Development Disclaimer Help
Sanitize Makefile. - irc - Unnamed repository; edit this file 'description' to …
git clone git://vernunftzentrum.de/irc.git
Log
Files
Refs
README
---
commit dc7c7582abd1fac3cdbb6068999bc8126bb3848b
parent 21abe4f408d582c26ba69a115fec14f778d97563
Author: Quentin Carbonneaux <[email protected]>
Date: Wed, 27 Apr 2016 11:27:46 -0400
Sanitize Makefile.
Diffstat:
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
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.