niz: niz.o test.o
	g++ -Wall -o $@ $^
niz.o: niz.cpp niz.hpp
	g++ -Wall -o $@ -c $<
test.o: test.cpp niz.hpp
	g++ -Wall -o $@ -c $<

.PHONY: clean

clean:
	rm -f *~ *.o niz
