COMPILER=gcc -g -I../spnbox

generate: general.o matrix.o pns.o insert.o

general.o: general.c general.h
	$(COMPILER) -c general.c

matrix.o: matrix.c matrix.h general.h
	$(COMPILER) -c matrix.c

pns.o: pns.c pns.h general.h matrix.h
	$(COMPILER) -c pns.c

insert.o: insert.c insert.h
	$(COMPILER) -c insert.c

clean:
	rm *.o || true