# makefile for atari TOS version of fract (alcyon 4.14)
#
# [flags are for my custom cc(1) and make(1). yours may vary.  -wjr]

FP_FLAG		= 			# use -e for ieee
CFLAGS		= -new			# -new for alcyon 4.14
LDFLAGS		= -new -s $(FP_FLAG)	# -s for no symbols
LIBS		=
FR_OBJS		= fract.o linea0.o linea1.o linea3.o
TARGET		= fract.ttp



$(TARGET):	$(FR_OBJS)
		$(CC) $(LDFLAGS) -o $(TARGET) $(FR_OBJS) $(LIBS)



fract.o:	fract.c version.h

linea0.o:	linea0.s
		$(CC) -c $(CFLAGS) linea0.s

linea1.o:	linea1.s
		$(CC) -c $(CFLAGS) linea1.s

linea3.o:	linea3.s
		$(CC) -c $(CFLAGS) linea3.s

