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

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

.PATH: ../src

OPTIMIZER = -g

TARGETS=libaud.a

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

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

libaud.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)