Skip to content

Commit

Permalink
Merge pull request PieVo#2 from afreof/master
Browse files Browse the repository at this point in the history
cmake support
  • Loading branch information
PieVo authored Feb 6, 2019
2 parents f80191f + 9b73a23 commit 72bd5a9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cmake_minimum_required(VERSION 2.8)
PROJECT(mdio-tool)

include(GNUInstallDirs)

set(SOURCES mdio-tool.c mii.h)
add_executable(mdio-tool ${SOURCES})

install(TARGETS mdio-tool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
6 changes: 0 additions & 6 deletions Makefile

This file was deleted.

0 comments on commit 72bd5a9

Please sign in to comment.