CC = gcc -w

now :	voigt.out maxwell.out fourelm.out

rungekutta.o : rungekutta.c

voigt.out : voigt.o rungekutta.o
	$(CC) -o $@ voigt.o rungekutta.o -lm
voigt.o   : voigt.c

maxwell.out : maxwell.o rungekutta.o
	$(CC) -o $@ maxwell.o rungekutta.o -lm
maxwell.o   : maxwell.c

fourelm.out : fourelm.o rungekutta.o
	$(CC) -o $@ fourelm.o rungekutta.o -lm
fourelm.o   : fourelm.c

clean:
	rm *.out *.o *.c~ *.plot~ Makefile~
