###########################################################################
#                                                                         #
#	Objective-C object make dependencies                              #
#                                                                         #
###########################################################################

all:	BinTest GaussianTest

Random.o: Random.h Random.m
	cc -g -o Random.o -Wall -c Random.m

GaussianTest.o: GaussianTest.m Random.h
	cc -g -o GaussianTest.o -Wall -c GaussianTest.m

BinTest.o: BinTest.m Random.h
	cc -g -o BinTest.o -Wall -c BinTest.m
	
BinTest: BinTest.o Random.o
	cc -O -g  -Wimplicit -o BinTest BinTest.o Random.o -lNeXT_s -lsys_s

GaussianTest: GaussianTest.o Random.o
	cc -O -g  -Wimplicit -o GaussianTest GaussianTest.o Random.o -lNeXT_s -lsys_s


###########################################################################
#                                                                         #
#	Other make definitions                                            #
#                                                                         #
###########################################################################

default:
	make all

clean:
	rm -f *.o BinTest GaussianTest

over:
	make clean
	make
