finally, i've managed to write a make file
evening commit