# Makefile for the TSYSTEM directory.

TMACHINE=sparc
OBJS	=$(TMACHINE)_start_t.o $(TMACHINE)assist.o expand.o float.o

CFLAGS	=-O

all:	localfs.t linkt $(OBJS)

localfs.t:
	echo "(`hostname`)" > $@

linkt.sh:	Makefile
	echo $(OBJS) | \
	awk '{	print "#! /bin/sh"; \
		printf("cc -o $$2 $$1"); \
		for (i=1; i<=NF; i++) printf(" $${TSYSTEM}/%s", $$i); \
		print " -lm" }' > $@
