#-----------------------------------------------------------------------
# makefile2
# Author: Bob Dondero
# Non-File Targets
#-----------------------------------------------------------------------

#-----------------------------------------------------------------------
# Dependency rules for non-file targets
#-----------------------------------------------------------------------

all: testintmath

clobber: clean
	rm -f *~ \#*\# core

clean:
	rm -f testintmath *.o

#-----------------------------------------------------------------------
# Dependency rules for file targets
#-----------------------------------------------------------------------

testintmath: testintmath.o intmath.o
	gcc217 testintmath.o intmath.o -o testintmath

testintmath.o: testintmath.c intmath.h
	gcc217 -c testintmath.c

intmath.o: intmath.c intmath.h
	gcc217 -c intmath.c