all: matsolve

clean:
	rm -f matsolve 2x2.i

2x2.i: 2x2.mpl
	rm -f 2x2.i
	maple 2x2.mpl

matsolve: matsolve.c 2x2.i
	gcc -o matsolve matsolve.c -lm
