Dual Simplex algorithm linear programming solver
[platform/upstream/libvorbis.git] / Makefile.in
index 40971ca..b2be057 100644 (file)
@@ -1,5 +1,7 @@
 # vorbis makefile configured for use with gcc on any platform
 
+# $Id: Makefile.in,v 1.2 1999/07/13 07:48:11 mwhitson Exp $
+
 ###############################################################################
 #                                                                             #
 # To build a production vorbis (preferrably using gmake), just type 'make'.   #
 # (unless, of course, you know what you are doing :) ##########################
 
 @SET_MAKE@
-FLAGS=@TYPESIZES@ @CFLAGS@
-OPT=@OPT@ $(FLAGS)
-DEBUG=@DEBUG@ $(FLAGS)
-PROFILE=@PROFILE@ $(FLAGS)
-CC=@CC@
-LD=@CC@
-LDFLAGS=@LDFLAGS@ $(FLAGS)
-AR=@AR@
-RANLIB=@RANLIB@
-LIBS=@LIBS@ @pthread_lib@ -lm
-
-OFILES =       framing.o
-TARGETFILES =  main.o $(OFILES)
-
-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 
-       @echo
-       @./test_framing
-
-target:        $(TARGETFILES) libvorbis.a
-       $(LD) $(CFLAGS) $(TARGETFILES) $(LDFLAGS) libvorbis.a -o ogg $(LIBS)
-
-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.*
-
-
-
-
 
+SUBDIRS =      lib cmdline
 
+all debug profile selftest target clean:
+       @for dir in $(SUBDIRS); do (cd $$dir && $(MAKE) $(MFLAGS) $@) || exit 1; done