1 ## Makefile for building wireshark.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
6 include ..\..\config.nmake
8 ############### no need to modify below this line #########
10 CFLAGS=-WX -DHAVE_CONFIG_H /I. /I.. /I../.. $(GLIB_CFLAGS) \
11 $(PCRE_CFLAGS) /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
13 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
16 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
18 OBJECTS=$(NONGENERATED_C_FILES:.c=.obj)
20 ftypes.lib : $(OBJECTS)
21 link /lib /out:ftypes.lib $(OBJECTS)
24 rm -f $(OBJECTS) ftypes.lib *.pdb
28 maintainer-clean: distclean
31 $(PERL) ../../tools/checkAPIs.pl -g termoutput \
32 $(NONGENERATED_C_FILES)