summaryrefslogtreecommitdiff
path: root/server/Makefile.in
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1998-01-31 18:54:52 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1998-01-31 18:54:52 +0000
commitf478951ed895418b67b226bcf88bb4a278f43a32 (patch)
tree64fcb174b7727908230061443c26ba38a97fbcbd /server/Makefile.in
parent383ae608c35209071a2f91a8e57deb508c477f78 (diff)
Do CFLAGS the gnu standard way. This means we compile with -g by default.
Diffstat (limited to 'server/Makefile.in')
-rw-r--r--server/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/server/Makefile.in b/server/Makefile.in
index 4feb618..be4229f 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -18,9 +18,10 @@ VPATH=@srcdir@
CC=@CC@
INSTALL=@INSTALL@
-DEBUG=-O
-CFLAGS=${DEBUG} -DSYSCONFDIR=\"${sysconfdir}\" -I${top_srcdir}/h \
- -I${BUILDTOP}/h -I. @CPPFLAGS@
+CPPFLAGS=@CPPFLAGS@
+CFLAGS=@CFLAGS@
+ALL_CFLAGS=${CFLAGS} -DSYSCONFDIR=\"${sysconfdir}\" -I${top_srcdir}/h \
+ -I${BUILDTOP}/h -I. ${CPPFLAGS}
LDFLAGS=${DEBUG} -L${BUILDTOP}/lib @LDFLAGS@
LIBS=-lzephyr @LIBS@ -lcom_err
@@ -41,6 +42,9 @@ version.o: version.h
version.h: always
sh ${srcdir}/new_vers.sh
+.c.o:
+ ${CC} -c ${ALL_CFLAGS} $<
+
check:
# No dependency on zephyrd, to avoid rebuilding version.o.