Makefile 684 Bytes
#!smake
#
# Makefile for audio library
#

include $(ROOT)/usr/include/make/PRdefs

.PATH: ../src

OPTIMIZER = -g

TARGETS=libaudioem.a

LCOPTS = -woff 613 -mips2 -fullwarn -G 0 -DAL_IRIX
LCINCS = -I. -I$(ROOT)/usr/include/PR -I$(ROOT)/usr/include

CFILES = \
	sl.c \
	seq.c \
	seqplayer.c \
	snd.c \
	sndplayer.c \
	bnkf.c \
	filter.c \
	adpcm.c \
	resample.c \
	save.c \
	event.c \
	env.c \
	reverb.c\
	auxbus.c \
	mainbus.c

libaudioem.a: synthesizer.o $(OBJECTS) Makefile
	$(AR) rc $@ synthesizer.o $(OBJECTS)

default: $(TARGETS)

include $(COMMONRULES)

exports: default
	$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)

install: default
	$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)