1 ## Makefile for building nghttp2.lib with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
5 include ..\..\config.nmake
7 include Makefile.common
9 ############### no need to modify below this line #########
11 CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
12 /I. /Inghttp2 /I../.. $(GLIB_CFLAGS) -DWS_BUILD_DLL
15 $(CC) $(CFLAGS) -Fd.\ -c $<
17 OBJECTS = $(LIBNGHTTP2_SRC:.c=.obj)
19 nghttp2.lib: $(OBJECTS)
20 link /lib /out:nghttp2.lib $(OBJECTS)
23 rm -f $(OBJECTS) nghttp2.lib *.nativecodeanalysis.xml *.pdb *.sbr
27 maintainer-clean: distclean
30 $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
34 # Editor modelines - https://www.wireshark.org/tools/modelines.html
42 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
43 # :indentSize=8:tabSize=8:noTabs=false: