blob: 905ebd85c470631cdd464d49ad8f6daf30c6b053 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- makefile.bsdi.orig Tue Aug 4 14:18:38 1998
+++ makefile.bsdi Sat Apr 29 13:11:52 2000
@@ -32,14 +32,14 @@
.SUFFIXES: #clear list of suffixes
.SUFFIXES: .cc .o #rules for .c and .o
-CC = gcc
-CFLAGS_DEBUG = -O2 -Wall -DDEBUG -g
-CFLAGS_NODEBUG = -O2 -Wall -g
+#CC = gcc
+CFLAGS_DEBUG = -DDEBUG
+CFLAGS_NODEBUG =
.ifdef DEBUG
-CFLAGS = $(CFLAGS_DEBUG)
+CFLAGS += $(CFLAGS_DEBUG) -pedantic
.else
-CFLAGS = $(CFLAGS_NODEBUG)
+CFLAGS += $(CFLAGS_NODEBUG) -pedantic
.endif
UPSMOND_TARGET = upsmond
|