CFLAGS = -I../../include

LIBS = ../../libsglf.a ../../libg.a
RT0 = ../../grt0.o

.c.o:
	/u2/gh/bin/gccom $(CFLAGS) $<

.o:
	ld -o $@ $(RT0) $< $(LIBS)

.c:
	/u2/gh/bin/gccom $(CFLAGS) $<
	ld -o $@ $(RT0) $@.o $(LIBS)

tsqrto: tsqrt.o tsqrt
	ld -o $@ $(RT0) tsqrt.o $(LIBS)

tsqrt: tsqrt.o mysqrt.o
	ld -o $@ $(RT0) tsqrt.o mysqrt.o $(LIBS)
