summaryrefslogtreecommitdiff
path: root/lib/Makefile.in
diff options
context:
space:
mode:
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