home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3593
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-07-07
|
962b
|
47 lines
SOURCES = aux.c handlers.c raw.c voc.c au.c sb.c sf.c libst.c misc.c
HEADERS = aux.h libst.h sfheader.h patchlevel.h
TESTS = tests monkey.au monkey.voc
FILES = README NOTES TODO Makefile $(SOURCES) $(HEADERS) $(TESTS)
SOUNDLIB = libaux.a
LIBOBJS = handlers.o raw.o voc.o au.o sb.o sf.o libst.o misc.o
# SYSTEM V 386 parameters, salt to taste
CFLAGS = -g -DSYSV
CC = cc
AR = ar r
RANLIB = ar ts
all: aux
aux: aux.o $(SOUNDLIB)
$(CC) $(CFLAGS) -o aux aux.o $(SOUNDLIB)
$(SOUNDLIB): $(LIBOBJS)
rm -f $(SOUNDLIB)
$(AR) $(SOUNDLIB) $(LIBOBJS)
$(RANLIB) $(SOUNDLIB)
aux.o: aux.c aux.h
handlers.o: handlers.c aux.h
raw.o: raw.c aux.h
voc.o: voc.c aux.h
misc.o: misc.c aux.h
clean:
rm -f *.o
rm -f *.raw
rm -f *.sf
# Shar: -F (prefix all lines with X),
# -M (notice monkey.voc is binary and uuencode)
# -s addr (set return addr of poster)
shar:
@/usr2/tools/shar/shar -M -F -s thinman@netcom.com $(FILES)