use makefile instead of CMakeLists.txt