Introduction
Introduction Statistics Contact Development Disclaimer Help
makefile: remove debug from normal build - sdhcp - simple dhcp client
git clone git://git.codemadness.org/sdhcp
Log
Files
Refs
LICENSE
---
commit d6f464ea4a66968f3d3a44433dfdd7819006804c
parent 45822e2399a0daad7046b2cf309c0cbaff96104d
Author: Hiltjo Posthuma <[email protected]>
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 <[email protected]>
Diffstat:
M Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
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
You are viewing proxied material from codemadness.org. 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.