1 # vorbis makefile configured for use with gcc on any platform
3 # $Id: Makefile.in,v 1.2 1999/07/27 08:44:52 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)
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 analysis.c -o test_blocking
50 target: $(TARGETFILES)
52 libvorbis.a: $(OFILES)
53 $(AR) -r libvorbis.a $(OFILES)
62 -rm -f *.o *.a test* *~ *.out ogg config.*