shithub: duke3d

ref: bff9e7cab76d907ea4666c76a61bb9f547f11b1e
dir: /Game/src/audiolib/Makefile/

View raw version
CC=gcc
AR=ar
RANLIB=ranlib
CFLAGS=-g -O2
LDLIBS=

CFLAGS += $(shell sdl-config --cflags)
LDLIBS += $(shell 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 $@ $^
	$(RANLIB) $@

clean:
	rm -rf audiolib.a *.o

distclean: clean
	rm -rf *~