makefile: remove debug from normal build - sdhcp - simple dhcp client
(HTM) git clone git://git.codemadness.org/sdhcp
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit d6f464ea4a66968f3d3a44433dfdd7819006804c
(DIR) parent 45822e2399a0daad7046b2cf309c0cbaff96104d
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 25 Apr 2014 19:22:21 +0200
makefile: remove debug from normal build
stricter options for now (cleanup)
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
M Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -1,9 +1,11 @@
DESTDIR=
-sdhcp: sdhcp.c debug.c
MANDIR = /usr/share/man
+sdhcp: sdhcp.c
+ $(CC) -O2 -o $@ sdhcp.c -static -Wall -ansi
+
debug: sdhcp.c debug.c
- $(CC) -DDEBUG -o sdhcp sdhcp.c -static
+ $(CC) -DDEBUG -o sdhcp sdhcp.c -static -O0 -g -Wall -ansi
all: sdhcp