# Makefile to build modules and testdiffeq for A1

testdiffeq:	testdiffeq.o diffeq.o
	gcc -g -o testdiffeq testdiffeq.o diffeq.o -lm

testdiffeq.o:	testdiffeq.c diffeq.h
	gcc -Wall -ansi -pedantic -g -c testdiffeq.c

diffeq.o:	diffeq.c diffeq.h
	gcc -Wall -ansi -pedantic -g -c diffeq.c
