PERFORCE change 179742 for review

Benjamin Fiedler bfiedler at FreeBSD.org
Fri Jun 18 00:20:00 UTC 2010


http://p4web.freebsd.org/@@179742?ac=10

Change 179742 by bfiedler at 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


More information about the p4-projects mailing list