# Makefile of the library "external/portaudio"
# Paul Boersma, 14 January 2012

include ../../makefile.defs

OBJECTS = pa_skeleton.o \
	pa_unix_hostapis.o pa_unix_util.o pa_linux_alsa.o \
	pa_win_hostapis.o pa_win_util.o pa_win_wmme.o pa_win_waveformat.o \
	pa_front.o pa_debugprint.o pa_cpuload.o \
	pa_allocation.o pa_process.o pa_converters.o pa_dither.o \
	pa_stream.o

.PHONY: all clean

all: libportaudio.a

clean:
	$(RM) $(OBJECTS)
	$(RM) libportaudio.a

libportaudio.a: $(OBJECTS)
	touch libportaudio.a
	rm libportaudio.a
	ar cq libportaudio.a $(OBJECTS)
	$(RANLIB) libportaudio.a

$(OBJECTS): *.h
