41 lines
905 B
Makefile
41 lines
905 B
Makefile
## Makefile for building codecs.lib with Microsoft C and nmake
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
|
#
|
|
# $Id$
|
|
|
|
include ..\config.nmake
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
CFLAGS=-WX -DHAVE_CONFIG_H $(GLIB_CFLAGS) -D_U_="" $(LOCAL_CFLAGS)
|
|
|
|
.c.obj::
|
|
$(CC) $(CFLAGS) -Fd.\ -c $<
|
|
|
|
CODEC_OBJECTS= \
|
|
G711udecode.obj \
|
|
G711adecode.obj
|
|
|
|
|
|
codecs.lib : $(CODEC_OBJECTS)
|
|
link /lib /out:codecs.lib $(CODEC_OBJECTS)
|
|
|
|
|
|
G711adecode.obj: G711a\G711adecode.c G711a\G711adecode.h G711a\G711atable.h
|
|
$(CC) $(CFLAGS) -Fd.\ -c G711a\G711adecode.c -o $@
|
|
|
|
G711udecode.obj: G711u\G711udecode.c G711u\G711udecode.h G711u\G711utable.h
|
|
$(CC) $(CFLAGS) -Fd.\ -c G711u\G711udecode.c -o $@
|
|
|
|
clean:
|
|
rm -f $(CODEC_OBJECTS) codecs.lib *.pdb
|
|
|
|
distclean: clean
|
|
|
|
maintainer-clean: distclean
|
|
|
|
checkapi:
|
|
$(PERL) ../tools/checkAPIs.pl \
|
|
G711a/G711adecode.c \
|
|
G711u/G711udecode.c
|