blob: cc91b054ddd97082a8e7315a8cf702d33b0d6bb5 [file] [log] [blame]
developer3abe1ad2022-01-24 11:13:32 +08001cmake_minimum_required(VERSION 2.8)
2
3PROJECT(atenl C)
4ADD_DEFINITIONS(-Os -Wall --std=gnu99 -g3)
5
6ADD_EXECUTABLE(atenl main.c eth.c hqa.c nl.c eeprom.c util.c)
7TARGET_LINK_LIBRARIES(atenl nl-tiny)
8
9SET(CMAKE_INSTALL_PREFIX /usr)
10
11INSTALL(TARGETS atenl
12 RUNTIME DESTINATION sbin
13)