include ../../../mk/rules.mk
include ../../../mk/init.mk

OBJECTIVE_LIBS_NOINST = libtimidity.a

SOURCES = \
	common.c \
	instrum.c \
	instrum_dls.c \
	mix.c \
	options.h \
	output.c \
	playmidi.c \
	readmidi.c \
	resample.c \
	stream.c \
	tables.c \
	timidity.c

CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) -I../../..

OBJECTS = ${SOURCES:.c=.o}

include ../../../mk/objective.mk

libtimidity.a: $(OBJECTS)
	$(AR) cq $@ $(OBJECTS)
