1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/audio/mpegaudio/files/patch-aa
Patrick Li ef50d23ae5 Fix typo
PR:		34814
Submitted by:	Steve Wills <steve@stevenwills.com>
2002-02-11 05:30:10 +00:00

30 lines
949 B
Plaintext

--- Makefile.orig Wed Jan 5 10:47:50 1994
+++ Makefile Fri Aug 25 20:37:52 2000
@@ -1,10 +1,23 @@
ALL : musicin musicout
-CFLAGS = -O2
+CFLAGS += -DTABLES_PATH=\"${PREFIX}/share/mpegaudio/tables\"
LDFLAGS=
+all: musicin musicout
+
musicin: musicin.o common.o encode.o subs.o psy.o tonal.o
- cc $(LDFLAGS) -o musicin musicin.o common.o encode.o subs.o psy.o tonal.o -lm
+ $(CC) $(LDFLAGS) -o musicin musicin.o common.o encode.o subs.o psy.o tonal.o -lm
musicout: musicout.o common.o decode.o subs.o
- cc $(LDFLAGS) musicout.o common.o decode.o subs.o -o musicout -lm
+ $(CC) $(LDFLAGS) musicout.o common.o decode.o subs.o -o musicout -lm
+
+clean:
+ rm -f *.core *.o musicin musicout
+
+install:
+ ${BSD_INSTALL_PROGRAM} musicin ${PREFIX}/bin/mpeg_musicin
+ ${BSD_INSTALL_PROGRAM} musicout ${PREFIX}/bin/mpeg_musicout
+ -mkdir -p ${PREFIX}/share/mpegaudio/tables
+ ${BSD_INSTALL_DATA} tables/* \
+ ${PREFIX}/share/mpegaudio/tables/
+