# vorbis makefile configured for use with gcc on any platform # $Id: Makefile.in,v 1.2 1999/07/27 08:44:52 xiphmont Exp $ ############################################################################### # # # To build a production vorbis (preferrably using gmake), just type 'make'. # # To build with debugging or profiling information, use 'make debug' or # # 'make profile' respectively. 'make clean' is a good idea between builds # # with different target names, or before a final build. # # # ############################################################################### # DO NOT EDIT BELOW! ########################################################## # (unless, of course, you know what you are doing :) ########################## @SET_MAKE@ FLAGS=-I. @TYPESIZES@ @CFLAGS@ OPT=@OPT@ $(FLAGS) DEBUG=@DEBUG@ $(FLAGS) PROFILE=@PROFILE@ $(FLAGS) CC=@CC@ LD=@CC@ LDFLAGS=@LDFLAGS@ $(FLAGS) AR=@AR@ RANLIB=@RANLIB@ LIBS=@LIBS@ -lm OFILES = framing.o TARGETFILES = libvorbis.a all: $(MAKE) target CFLAGS="$(OPT)" debug: $(MAKE) target CFLAGS="$(DEBUG)" profile: $(MAKE) target CFLAGS="$(PROFILE)" selftest: $(MAKE) clean $(CC) $(DEBUG) $(LDFLAGS) -D_V_SELFTEST framing.c -o test_framing $(CC) $(DEBUG) $(LDFLAGS) -D_V_SELFTEST analysis.c -o test_blocking @echo @./test_framing @./test_blocking target: $(TARGETFILES) libvorbis.a: $(OFILES) $(AR) -r libvorbis.a $(OFILES) $(RANLIB) libvorbis.a $(OFILES): mdct.h .c.o: $(CC) $(CFLAGS) -c $< clean: -rm -f *.o *.a test* *~ *.out ogg config.*