1 # vorbis makefile configured for use with gcc on any platform
3 # $Id: Makefile.in,v 1.6 1999/08/07 00:09:13 xiphmont Exp $
5 ###############################################################################
7 # To build a production vorbis (preferrably using gmake), just type 'make'. #
8 # To build with debugging or profiling information, use 'make debug' or #
9 # 'make profile' respectively. 'make clean' is a good idea between builds #
10 # with different target names, or before a final build. #
12 ###############################################################################
15 # DO NOT EDIT BELOW! ##########################################################
16 # (unless, of course, you know what you are doing :) ##########################
19 FLAGS=-I. @TYPESIZES@ @CFLAGS@
21 DEBUG=@DEBUG@ $(FLAGS)
22 PROFILE=@PROFILE@ $(FLAGS)
25 LDFLAGS=@LDFLAGS@ $(FLAGS)
30 OFILES = framing.o mdct.o smallft.o block.o envelope.o window.o
31 TARGETFILES = libvorbis.a
34 $(MAKE) target CFLAGS="$(OPT)"
37 $(MAKE) target CFLAGS="$(DEBUG)"
40 $(MAKE) target CFLAGS="$(PROFILE)"
44 $(CC) $(DEBUG) $(LDFLAGS) -D_V_SELFTEST framing.c -o test_framing
45 $(CC) $(DEBUG) $(LDFLAGS) -D_V_SELFTEST bitwise.c\
47 $(CC) $(DEBUG) -c envelope.c mdct.c window.c
48 $(CC) $(DEBUG) $(LDFLAGS) -D_V_SELFTEST envelope.o mdct.o window.c\
49 block.c -o test_blocking -lm
56 target: $(TARGETFILES)
58 libvorbis.a: $(OFILES)
59 $(AR) -r libvorbis.a $(OFILES)
68 -rm -f *.o *.a test* *~ *.out ogg config.*