cmake_minimum_required (VERSION 3.6) project(tte) set(CMAKE_C_FLAGS "-std=c99") add_executable( tte tte.c ) install(TARGETS tte DESTINATION /usr/bin)