2000-04-08 11:05:44 -04:00
|
|
|
--- Makefile.orig Wed Jan 5 02:47:50 1994
|
|
|
|
+++ Makefile Sat Apr 8 17:03:47 2000
|
1999-11-29 09:39:44 -05:00
|
|
|
@@ -1,10 +1,18 @@
|
|
|
|
-ALL : musicin musicout
|
|
|
|
+CFLAGS += -DPREFIX=\"${PREFIX}\"
|
|
|
|
|
|
|
|
-CFLAGS = -O2
|
|
|
|
-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) $(CFLAGS) -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) $(CFLAGS) -o musicout musicout.o common.o decode.o subs.o -lm
|
|
|
|
+
|
|
|
|
+clean:
|
|
|
|
+ rm -f *.core *.o musicin musicout
|
|
|
|
+
|
|
|
|
+install:
|
2000-04-08 11:05:44 -04:00
|
|
|
+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/lib/mpegaudio/tables
|
|
|
|
+ ${BSD_INSTALL_DATA} tables/* ${PREFIX}/lib/mpegaudio/tables
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} musicin ${PREFIX}/bin/mpeg_musicin
|
|
|
|
+ ${BSD_INSTALL_PROGRAM} musicout ${PREFIX}/bin/mpeg_musicout
|