1 ## Makefile for building codecs.lib 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 $(GLIB_CFLAGS) -D_U_="" $(LOCAL_CFLAGS)
13 $(CC) $(CFLAGS) -Fd.\ -c $<
20 codecs.lib : $(CODEC_OBJECTS)
21 link /lib /out:codecs.lib $(CODEC_OBJECTS)
24 G711adecode.obj: G711a\G711adecode.c G711a\G711adecode.h G711a\G711atable.h
25 $(CC) $(CFLAGS) -Fd.\ -c G711a\G711adecode.c -o $@
27 G711udecode.obj: G711u\G711udecode.c G711u\G711udecode.h G711u\G711utable.h
28 $(CC) $(CFLAGS) -Fd.\ -c G711u\G711udecode.c -o $@
31 rm -f $(CODEC_OBJECTS) codecs.lib *.pdb
35 maintainer-clean: distclean
38 $(PERL) ../tools/checkAPIs.pl \