home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Da Capo
/
da_capo_vol1.bin
/
programs
/
amiga
/
edit
/
amisox3.3
/
dist
/
makefile.b30
< prev
next >
Wrap
Makefile
|
1994-01-23
|
2KB
|
66 lines
# Sound Tools Makefile
# builds libst.a and sox
# Configured for Borland C/C++ 3.0 by PHADE SOFTWARE
# phade@contrib.de
SUFFIXES = .c .obj .a
FSRC= raw.c voc.c au.c sf.c aiff.c hcom.c 8svx.c sndrtool.c wav.c \
smp.c sbdsp.c auto.c cdr.c dat.c \
g711.c g72x.c g721.c g723_24.c g723_40.c
ESRC= copy.c avg.c pred.c stat.c vibro.c echo.c rate.c band.c lowp.c \
reverse.c highp.c dyn.c
PSRC= sox.c
SOURCES = $(PSRC) $(FSRC) $(ESRC) handlers.c libst.c misc.c getopt.c
LIBOBJS = $(FOBJ) $(EOBJ) handlers.o libst.o misc.o getopt.o
SOUNDLIB =
FOBJ= raw.obj voc.obj au.obj sf.obj aiff.obj hcom.obj 8svx.obj \
sndrtool.obj wav.obj smp.obj sbdsp.obj auto.obj cdr.obj dat.obj \
g711.obj g72x.obj g721.obj g723_24.obj g723_40.obj
EOBJ= copy.obj avg.obj pred.obj stat.obj vibro.obj echo.obj \
rate.obj band.obj lowp.obj reverse.obj highp.obj dyn.obj
LIBOBJS = $(FOBJ) $(EOBJ) handlers.obj libst.obj misc.obj getopt.obj
SOUNDLIB = libst
# there must be a borland flag for ANSI C!
BINDIR = i:\borlandc\bin
INCDIR = i:\borlandc\include
LIBDIR = i:borlandc\lib
CFLAGS = -DDOS -DNEED_GETOPT -D__STDC__=1
CC = $(BINDIR)\bcc -I$(INCDIR) -L$(LIBDIR)
TLIB = $(BINDIR)\tlib
.c.obj:
$(CC) $(CFLAGS) -c -d -O -Z -G $*.c
$(TLIB) $(SOUNDLIB) -$* +$*
all: sox
sox: sox.obj $(SOUNDLIB)
$(CC) $(CFLAGS) sox.obj $(SOUNDLIB).lib
$(SOUNDLIB): $(LIBOBJS)
sox.obj: sox.c st.h
$(CC) $(CFLAGS) -c -d -O -Z -G $*.c
$(LIBOBJS): st.h
clean:
rm -f *.o
rm -f *.raw
rm -f *.sf
rm -f core