diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | tools/Makefile.am | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt new file mode 100644 index 0000000..70ec3b3 --- /dev/null +++ b/tools/CMakeLists.txt | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) | ||
| 2 | link_directories (${CMAKE_BINARY_DIR}/libusbmuxd) | ||
| 3 | |||
| 4 | add_definitions(-Wall -O2 -g) | ||
| 5 | add_executable(iproxy iproxy.c) | ||
| 6 | target_link_libraries(iproxy libusbmuxd pthread) | ||
| 7 | |||
| 8 | install(TARGETS iproxy RUNTIME DESTINATION bin) \ No newline at end of file | ||
diff --git a/tools/Makefile.am b/tools/Makefile.am deleted file mode 100644 index 5d20bbf..0000000 --- a/tools/Makefile.am +++ /dev/null | |||
| @@ -1,5 +0,0 @@ | |||
| 1 | bin_PROGRAMS = iproxy | ||
| 2 | |||
| 3 | iproxy_SOURCES = iproxy.c | ||
| 4 | iproxy_CFLAGS = -I$(top_srcdir)/src | ||
| 5 | iproxy_LDADD = ../src/libusbmuxd.la | ||
