2006-08-30 20:47:16 +00:00
|
|
|
## Makefile for building codecs.lib with Microsoft C and nmake
|
|
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
2006-09-02 14:18:47 +00:00
|
|
|
include ..\config.nmake
|
2006-08-30 20:47:16 +00:00
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
2011-02-02 01:19:53 +00:00
|
|
|
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
|
|
|
|
$(GLIB_CFLAGS)
|
2006-08-30 20:47:16 +00:00
|
|
|
|
|
|
|
.c.obj::
|
|
|
|
$(CC) $(CFLAGS) -Fd.\ -c $<
|
|
|
|
|
|
|
|
CODEC_OBJECTS= \
|
2013-06-25 15:32:49 +00:00
|
|
|
G711udecode.obj \
|
2006-08-30 20:47:16 +00:00
|
|
|
G711adecode.obj
|
|
|
|
|
|
|
|
|
2011-02-02 01:19:53 +00:00
|
|
|
codecs.lib : $(CODEC_OBJECTS)
|
|
|
|
link /lib /out:codecs.lib $(CODEC_OBJECTS)
|
2006-08-30 20:47:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
G711adecode.obj: G711a\G711adecode.c G711a\G711adecode.h G711a\G711atable.h
|
2008-08-14 23:51:37 +00:00
|
|
|
$(CC) $(CFLAGS) -Fd.\ -c G711a\G711adecode.c /Fo%|fF.obj
|
2006-08-30 20:47:16 +00:00
|
|
|
|
|
|
|
G711udecode.obj: G711u\G711udecode.c G711u\G711udecode.h G711u\G711utable.h
|
2008-08-14 23:51:37 +00:00
|
|
|
$(CC) $(CFLAGS) -Fd.\ -c G711u\G711udecode.c /Fo%|fF.obj
|
2006-08-30 20:47:16 +00:00
|
|
|
|
|
|
|
clean:
|
2013-06-25 15:32:49 +00:00
|
|
|
rm -f $(CODEC_OBJECTS) codecs.lib *.pdb *.sbr
|
2006-08-30 20:47:16 +00:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
|
|
|
maintainer-clean: distclean
|
|
|
|
|
2011-02-02 01:19:53 +00:00
|
|
|
checkapi:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../tools/checkAPIs.pl -g abort -g termoutput -build \
|
2008-05-21 20:27:15 +00:00
|
|
|
G711a/G711adecode.c \
|
|
|
|
G711u/G711udecode.c
|