shithub: duke3d

ref: aed344a63423d13a0c5a46ea24dca17bd8fe39fd
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 *~