4506b9a2ed3779673e1cf93947fb830267df825e
[jlayton/wireshark.git] / epan / ftypes / Makefile.nmake
1 ## Makefile for building wireshark.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
3 #
4 # $Id$
5
6 include ..\..\config.nmake
7
8 include Makefile.common
9
10 ############### no need to modify below this line #########
11
12 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
13         /I. /I.. /I../.. $(GLIB_CFLAGS) \
14         /I$(PCAP_DIR)\include
15
16 .c.obj::
17    $(CC) $(CFLAGS) -Fd.\ -c $<
18
19 OBJECTS=$(NONGENERATED_C_FILES:.c=.obj)
20
21 ftypes.lib      : $(OBJECTS)
22         link /lib /out:ftypes.lib $(OBJECTS)
23
24 clean:
25         rm -f $(OBJECTS) ftypes.lib *.pdb *.sbr
26
27 distclean: clean
28
29 maintainer-clean: distclean
30
31 checkapi:
32         $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
33                 $(NONGENERATED_C_FILES)