Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 00:19:58 GMT
From:      Benjamin Fiedler <bfiedler@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 179742 for review
Message-ID:  <201006180019.o5I0JweF011111@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@179742?ac=10

Change 179742 by bfiedler@freebsd-7803 on 2010/06/18 00:19:01

	Fix makefiles (proper debug in diff, add c99 and pedantic to sdiff)

Affected files ...

.. //depot/projects/soc2010/bsdtextproc/diff/Makefile#3 edit
.. //depot/projects/soc2010/bsdtextproc/sdiff/Makefile#3 edit

Differences ...

==== //depot/projects/soc2010/bsdtextproc/diff/Makefile#3 (text+ko) ====

@@ -1,9 +1,10 @@
 #	$FreeBSD$
 #	$OpenBSD: Makefile,v 1.2 2003/06/25 02:42:50 deraadt Exp $
 
-DEBUG = -g
+DEBUG_FLAGS+= -g
+
 PROG=	diff
 SRCS=	diff.c diffdir.c diffreg.c
-CFLAGS+=	-std=c99 -Wall -pedantic $(DEBUG)
+CFLAGS+=	-std=c99 -Wall -pedantic
 
 .include <bsd.prog.mk>

==== //depot/projects/soc2010/bsdtextproc/sdiff/Makefile#3 (text+ko) ====

@@ -9,6 +9,9 @@
           CFLAGS+= -I${dir}
 .endfor
 
+COPTS+=     -std=c99 -pedantic
+DEBUG_FLAGS+= -g
+
 #.endif
 
 PROG=sdiff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006180019.o5I0JweF011111>