# To compile Callisto with Aztec C 3.4, put everything necessary in the current
# directory (including a file called i which contains the precompiled header
# files required by console.c - if you don't have these, remove the +ii from
# the line which gives instructions for compiling console.c) and type
# MAKE CALLISTO. The instructions text file must also be placed in the
# directory from which Callisto is to be run.

Callisto: callisto.o printlong_unsigned.o scanlong_unsigned.o readfile.o \
input.o console.o
	ln callisto.o printlong_unsigned.o scanlong_unsigned.o readfile.o input.o \
console.o -lc
callisto.o: callisto.c
	cc +l callisto
scanlong_unsigned.o: scanlong_unsigned.c
	cc +l scanlong_unsigned
readfile.o: readfile.c
	cc +ii readfile
input.o: input.c
	cc +l input
console.o: console.c
	cc +l +ii console
