#
#	Makefile for libtsp/AF/nucleus
#
SHELL = /bin/sh

prefix=../../..

exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
includedir = $(prefix)/include

CFLAGS = -O -I$(includedir)

LIB = $(libdir)/libtsp.a

.PRECIOUS: $(LIB)
$(LIB):	$(LIB)(AFfileType.o) $(LIB)(AFgenHinfo.o) $(LIB)(AFgetAIpar.o) \
	$(LIB)(AFgetAUpar.o) $(LIB)(AFgetAUrec.o) $(LIB)(AFgetBLpar.o) \
	$(LIB)(AFgetESpar.o) $(LIB)(AFgetINpar.o) $(LIB)(AFgetNHpar.o) \
	$(LIB)(AFgetSFpar.o) $(LIB)(AFgetSPpar.o) $(LIB)(AFgetSPrec.o) \
	$(LIB)(AFgetTApar.o) $(LIB)(AFgetWVpar.o) $(LIB)(AFprintAFh.o) \
	$(LIB)(AFreadAlaw.o) $(LIB)(AFreadF4.o) $(LIB)(AFreadHead.o) \
	$(LIB)(AFreadI1.o) $(LIB)(AFreadI2.o) $(LIB)(AFreadTA.o) \
	$(LIB)(AFreadMulaw.o) $(LIB)(AFreadU1.o) $(LIB)(AFsetAFp.o) \
	$(LIB)(AFsetAIpar.o) $(LIB)(AFsetAUpar.o) $(LIB)(AFsetNHpar.o) \
	$(LIB)(AFsetWVpar.o) $(LIB)(AFupdAIhead.o) $(LIB)(AFupdAUhead.o) \
	$(LIB)(AFupdWVhead.o) $(LIB)(AFwriteAlaw.o) $(LIB)(AFwriteF4.o) \
	$(LIB)(AFwriteHead.o) $(LIB)(AFwriteI1.o) $(LIB)(AFwriteI2.o) \
	$(LIB)(AFwriteMulaw.o) $(LIB)(AFwriteTA.o) $(LIB)(AFwriteU1.o)
	ranlib $(LIB)
