Merge branch 'master' into radar
[carl9170fw.git] / tools / src / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8)
2
3 project(tools)
4
5 add_custom_target(wol ALL COMMAND gcc wol.c -o wol)
6
7 set(tools fwinfo miniboot checksum fwprepare)
8
9 foreach(tool ${tools})
10         add_executable( ${tool} ${tool}.c )
11         add_definitions("-std=gnu99 -Wall -Wextra -Wshadow")
12         target_link_libraries( ${tool} carlfw )
13 endforeach()