Mercurial > mplayer.hg
diff mp3lib/Makefile @ 1:3b5f5d1c5041
Initial revision
author | arpi_esp |
---|---|
date | Sat, 24 Feb 2001 20:28:24 +0000 |
parents | |
children | 8ee4acebff58 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mp3lib/Makefile Sat Feb 24 20:28:24 2001 +0000 @@ -0,0 +1,34 @@ + +include config.mak + +SRCS = sr1.c d_cpu.s decode_i586.s $(OPTIONAL_SRCS) +OBJS = sr1.o d_cpu.o decode_i586.o $(OPTIONAL_OBJS) +CFLAGS = $(OPTFLAGS) + +.SUFFIXES: .c .o + +# .PHONY: all clean + +.c.o: + $(CC) -c $(CFLAGS) -o $@ $< + +.s.o: + $(CC) -c $(CFLAGS) -o $@ $< + +libMP3.a: $(OBJS) + $(AR) r libMP3.a $(OBJS) + +all: libMP3.a + +clean: + rm -f *~ *.o *.a + +distclean: + makedepend + rm -f *~ *.o *.a Makefile.bak + +dep: depend + +depend: + makedepend -- $(CFLAGS) -- $(SRCS) &>/dev/null +# DO NOT DELETE