modify makefile to compile rs_gibbs