summaryrefslogtreecommitdiff
path: root/lib/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 /lib/Makefile.in
parent383ae608c35209071a2f91a8e57deb508c477f78 (diff)
Do CFLAGS the gnu standard way. This means we compile with -g by default.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index e044a0d..336bd6a 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -19,9 +19,10 @@ CC=@CC@
INSTALL=@INSTALL@
RANLIB=@RANLIB@
-DEBUG=-O
-CFLAGS=${DEBUG} -DSYSCONFDIR=\"${sysconfdir}\" -I${top_srcdir}/h \
- -I${BUILDTOP}/h @CPPFLAGS@
+CPPFLAGS=@CPPFLAGS@
+CFLAGS=@CFLAGS@
+ALL_CFLAGS=${CFLAGS} -DSYSCONFDIR=\"${sysconfdir}\" -I${top_srcdir}/h \
+ -I${BUILDTOP}/h ${CPPFLAGS}
OBJS = zephyr_err.o ZAsyncLocate.o ZCkAuth.o ZCkIfNot.o ZClosePort.o \
ZCmpUID.o ZCmpUIDP.o ZFlsLocs.o ZFlsSubs.o ZFmtAuth.o ZFmtList.o \
@@ -43,6 +44,9 @@ zephyr_err.c ${BUILDTOP}/h/zephyr/zephyr_err.h: zephyr_err.et
compile_et ${srcdir}/zephyr_err.et
mv zephyr_err.h ${BUILDTOP}/h/zephyr
+.c.o:
+ ${CC} -c ${ALL_CFLAGS} $<
+
check:
install: libzephyr.a