From f478951ed895418b67b226bcf88bb4a278f43a32 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sat, 31 Jan 1998 18:54:52 +0000 Subject: Do CFLAGS the gnu standard way. This means we compile with -g by default. --- lib/Makefile.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/Makefile.in') 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 -- cgit v1.2.3