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. --- clients/zwrite/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'clients/zwrite') diff --git a/clients/zwrite/Makefile.in b/clients/zwrite/Makefile.in index b07423b..667175a 100644 --- a/clients/zwrite/Makefile.in +++ b/clients/zwrite/Makefile.in @@ -19,8 +19,9 @@ VPATH=@srcdir@ CC=@CC@ INSTALL=@INSTALL@ -DEBUG=-O -CFLAGS=${DEBUG} -I${top_srcdir}/h -I${BUILDTOP}/h @CPPFLAGS@ +CPPFLAGS=@CPPFLAGS@ +CFLAGS=@CFLAGS@ +ALL_CFLAGS=${CFLAGS} -I${top_srcdir}/h -I${BUILDTOP}/h ${CPPFLAGS} LDFLAGS=${DEBUG} -L${BUILDTOP}/lib @LDFLAGS@ LIBS=-lzephyr @LIBS@ -lcom_err @@ -31,6 +32,9 @@ all: zwrite zwrite: ${OBJS} ${BUILDTOP}/lib/libzephyr.a ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS} +.c.o: + ${CC} -c ${ALL_CFLAGS} $< + check: install: zwrite -- cgit v1.2.3