shithub: duke3d

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