CFLAGS = nostackcheck structureequivalence ignore=73

all:	dpieee dptrans ffpbasic ffpexample ffptrans \
	mathsupport spieee sptrans

dpieee: dpieee.c
	sc link $(CFLAGS) math=ieee $@

dptrans: dptrans.c
	sc link $(CFLAGS) math=ieee $@

ffpbasic: ffpbasic.c
	sc link $(CFLAGS) math=ffp $@

ffpexample: ffpexample.c
	sc link $(CFLAGS) math=ffp $@

ffptrans: ffptrans.c
	sc link $(CFLAGS) math=ffp $@

mathsupport: mathsupport.c
	sc link $(CFLAGS) math=ffp $@

spieee: spieee.c
	sc link $(CFLAGS) math=ieee $@

sptrans: sptrans.c
	sc link $(CFLAGS) math=ieee $@

clean:
	-delete \#?.(o|lnk)
