1 # $Id: Makefile.in,v 1.5 2000/01/05 03:11:10 xiphmont Exp $
3 ###############################################################################
5 # To build a production vorbis (preferrably using gmake), just type 'make'. #
6 # To build with debugging or profiling information, use 'make debug' or #
7 # 'make profile' respectively. 'make clean' is a good idea between builds #
8 # with different target names, or before a final build. #
10 ###############################################################################
13 # DO NOT EDIT BELOW! ##########################################################
14 # (unless, of course, you know what you are doing :) ##########################
17 FLAGS=-I. -I../include @TYPESIZES@ @CFLAGS@
19 DEBUG=@DEBUG@ $(FLAGS)
20 PROFILE=@PROFILE@ $(FLAGS)
23 LDFLAGS=@LDFLAGS@ $(FLAGS)
28 HFILES = ../include/vorbis/codebook.h vqgen.h vqext.h
30 OFILES = vqgen.o vqsplit.o
31 ALLOFILES = $(OFILES) lspdata.o train.o build.o
34 $(MAKE) target CFLAGS="$(OPT)"
37 $(MAKE) target CFLAGS="$(DEBUG)"
40 $(MAKE) target CFLAGS="$(PROFILE)"
42 target: lspvqtrain vqbuild
44 lspvqtrain: $(OFILES) lspdata.o train.o
45 $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
47 vqbuild: $(OFILES) build.o
48 $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
50 $(ALLOFILES): $(HFILES)
58 -rm -f *.o *.a test* *~ *.out *.m config.* \