URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [branches/] [mp3_stable/] [mp3/] [sw/] [mad-xess/] [Makefile] - Rev 1765
Compare with Previous | Blame | View Log
CC = or32-rtems-gccAS = or32-rtems-asAR = or32-rtems-arRUNLIB = or32-rtems-ranlibSUBDIRS = libmadMAD_OBJ = reset.o \minimad.o \fsyst.o \audio_oss.o \audio.o \memcpy.o \memmove.o \flash.oCC_OPTS = -DHAVE_CONFIG_H -fno-delayed-branch -Wall -nostdlib \-I. -I./libmad/#LD_OPTS = -T xess.ld -L/home/simons/or1k/lib/gcc-lib/or32-rtems/2.95.2/LD_OPTS = -T xess.ldall:@set fnord $(MAKEFLAGS); amf=$$2; \target=`echo $@ | sed s/-recursive//`; \list='$(SUBDIRS)'; for subdir in $$list; do \echo "Making $$target in $$subdir"; \(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \done; \$(MAKE) $(AM_MAKEFLAGS) "minimad" || exit 1; \minimad: $(MAD_OBJ) libmad/libmad.a$(CC) $(LD_OPTS) -o minimad $(MAD_OBJ) libmad/libmad.areset.o: reset.S$(CC) $(CC_OPTS) -c -o reset.o reset.Sminimad.o: minimad.c config.h audio.h libmad/mad.h fsyst.h$(CC) $(CC_OPTS) -c -o minimad.o minimad.cfsyst.o: fsyst.c config.h fsyst.h$(CC) $(CC_OPTS) -c -o fsyst.o fsyst.caudio_oss.o: audio_oss.c config.h$(CC) $(CC_OPTS) -c -o audio_oss.o audio_oss.caudio.o: audio.c config.h audio.h libmad/mad.h$(CC) $(CC_OPTS) -c -o audio.o audio.cmemcpy.o: memcpy.c config.h _ansi.h$(CC) $(CC_OPTS) -c -o memcpy.o memcpy.cmemmove.o: memmove.c config.h$(CC) $(CC_OPTS) -c -o memmove.o memmove.cflash.o: flash.c config.h$(CC) $(CC_OPTS) -c -o flash.o flash.cclean:@set fnord $(MAKEFLAGS); amf=$$2; \target=`echo $@ | sed s/-recursive//`; \list='$(SUBDIRS)'; for subdir in $$list; do \echo "Making $$target in $$subdir"; \(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \done; \rm -rf $(MAD_OBJ) minimad *~ *.bak
