From 483b52c8e7d689385cc8e0bf276c7dba6d9e07af Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Sun, 16 Jan 2011 23:24:15 +0000 Subject: [PATCH] Compile text2pcap.c,mergecap.c,capinfos.c,editcap.c, & version_info.c with -WX; (Treat warnings as errors); Done by simplifing the dependency line for the objects so that the default .c.obj inference rule is used. svn path=/trunk/; revision=35564 --- Makefile.nmake | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Makefile.nmake b/Makefile.nmake index efb9a54cc8..3281dd809c 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -436,21 +436,8 @@ text2pcap-scanner.obj : text2pcap-scanner.c # The following targets will rebuild their respective objs # if and when svnversion.h should change. # +text2pcap.obj mergecap.obj capinfos.obj editcap.obj version_info.obj: svnversion.h -text2pcap.obj : $*.c svnversion.h - $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $*.c - -mergecap.obj : $*.c svnversion.h - $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $*.c - -capinfos.obj : $*.c svnversion.h - $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $*.c - -editcap.obj : $*.c svnversion.h - $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $*.c - -version_info.obj : $*.c svnversion.h - $(CC) $(CVARSDLL) $(GENERATED_CFLAGS) -Fd.\ -c $*.c clean-local: clean-deps rm -f $(wireshark_OBJECTS) $(tshark_OBJECTS) $(dumpcap_OBJECTS) $(rawshark_OBJECTS) \