# # Makefile for libtsp/UT # SHELL = /bin/sh prefix=../.. exec_prefix = $(prefix) libdir = $(exec_prefix)/lib includedir = $(prefix)/include CFLAGS = -O -I$(includedir) LIB = $(libdir)/libtsp.a .PHONY: all nucleus_routines all: $(LIB) nucleus_routines .PRECIOUS: $(LIB) $(LIB): $(LIB)(UTdate.o) $(LIB)(UTerror.o) $(LIB)(UTfree.o) \ $(LIB)(UTgetOption.o) $(LIB)(UThalt.o) $(LIB)(UTmalloc.o) \ $(LIB)(UTrealloc.o) $(LIB)(UTsetProg.o) $(LIB)(UTuserName.o) \ $(LIB)(UTwarn.o) ranlib $(LIB) nucleus_routines: (cd nucleus; $(MAKE))