Commit Diff


commit - 5cb8f6f3f84d2965a088af016330f5bd7cf7c6e0
commit + 5b32fcc57db477648a804396400b5c1e5de7d5db
blob - cb905cf4b378e9d869b063bcb70bbfd7ea993c4b
blob + cdeda008e97bc8e802ed9404ca952edc81069520
--- Makefile
+++ Makefile
@@ -1,17 +1,9 @@
-PROG=	diff
-SRCS= \
-	diff.c \
-	diff_atomize_text.c \
-	diff_main.c \
-	diff_myers.c \
-	diff_patience.c \
-	diff_output.c \
-	${END}
+# $OpenBSD$
 
-.if defined(PROFILE)
-LDADD = -lutil_p -lz_p -lc_p
-.else
-LDADD = -lutil -lz
-.endif
+PROG=		diff
+SRCS=		diff.c diff_atomize_text.c diff_main.c diff_myers.c \
+		diff_patience.c diff_output.c
 
+CFLAGS+=	-Wstrict-prototypes -Wunused-variable
+
 .include <bsd.prog.mk>