mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
ef50d23ae5
PR: 34814 Submitted by: Steve Wills <steve@stevenwills.com>
30 lines
949 B
Plaintext
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/
|
|
+
|