SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -D_GNU_SOURCE")

ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}")

ADD_EXECUTABLE(accel-cmd
	accel_cmd.c
)

INSTALL(TARGETS accel-cmd
	RUNTIME DESTINATION bin
)
INSTALL(FILES accel-cmd.1
	DESTINATION share/man/man1
)