CC=gcc
AR=ar
RANLIB=ranlib
CFLAGS=-m32 -g -O2
LDLIBS=

CFLAGS += $(shell /usr/bin/32/sdl-config --cflags)
LDLIBS += $(shell /usr/bin/32/sdl-config --libs)

OBJ=fx_man.o dsl.o ll_man.o multivoc.o mv_mix.o mvreverb.o nodpmi.o \
	pitch.o user.o usrhooks.o

audiolib.a: $(OBJ)
	rm -rf $@
	$(AR) rc $@ $^
ifneq ($(strip $(solaris)),true)
	$(RANLIB) $@
endif

clean:
	rm -rf audiolib.a *.o

distclean: clean
	rm -rf *~
