home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.4front-tech.com
/
ftp.4front-tech.com.tar
/
ftp.4front-tech.com
/
ossfree
/
snd-util-3.8.tar.gz
/
snd-util-3.8.tar
/
sndkit
/
mplay
/
Makefile
< prev
next >
Wrap
Makefile
|
1997-02-25
|
558b
|
30 lines
CC = cc
CFLAGS = -O
LIBOBJS = mlib.o
.PREFIXES: .o .c
# Uncomment the following lines if you want to use OSSlib.
# Look at the OSSlib subdirectory for more info about OSSlib.
# NOTE! OSS version 3.8-beta2 or later is required for OSSlib.
OSSDEFINES=-DOSSLIB
OSSLIBS=-lOSSlib
all : mplay
install: mplay
cp mplay /usr/local/bin/mplay
mplay : main.o $(LIBOBJS)
$(CC) $(CFLAGS) -o mplay main.o $(LIBOBJS) $(OSSLIBS)
main.o: mlib.h main.c
$(CC) $(CFLAGS) $(OSSDEFINES) -c main.c
mlib.o: mlib.h
.c.o:
$(CC) $(CFLAGS) -c $<
clean:
rm -f *.o mplay core