aboutsummaryrefslogtreecommitdiff
path: root/libmpio
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-09 16:07:05 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-05-09 16:09:08 +0200
commit619beb63a1748cd9ece96260bfb2e9484e52cb67 (patch)
tree12aeffdd99d378c088f3c3aad634bb5d3e9000b4 /libmpio
parent2d49dfdd370852d5033b848fd69b6112368b7d20 (diff)
downloadmpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.tar.gz
mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.tar.bz2
mpiosh-619beb63a1748cd9ece96260bfb2e9484e52cb67.zip
Cleanup
Remove unused files, move mpiosh to src, ...
Diffstat (limited to 'libmpio')
-rw-r--r--libmpio/CMakeLists.txt10
-rw-r--r--libmpio/src/CMakeLists.txt9
2 files changed, 10 insertions, 9 deletions
diff --git a/libmpio/CMakeLists.txt b/libmpio/CMakeLists.txt
index ce48530..fb590ef 100644
--- a/libmpio/CMakeLists.txt
+++ b/libmpio/CMakeLists.txt
@@ -3,12 +3,4 @@ cmake_minimum_required (VERSION 2.4)
set (PACKAGE libmpio)
project (${PACKAGE} C)
-set (CMAKE_C_FLAGS -Wall)
-
-include_directories (${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/mplib)
-
-add_library (mpio STATIC src/mpio.c src/io.c src/debug.c src/smartmedia.c
- src/mmc.c src/directory.c src/fat.c src/ecc.c src/cis.c)
-
-target_link_libraries (mpio -lusb)
+add_subdirectory (src)
diff --git a/libmpio/src/CMakeLists.txt b/libmpio/src/CMakeLists.txt
new file mode 100644
index 0000000..0422cb7
--- /dev/null
+++ b/libmpio/src/CMakeLists.txt
@@ -0,0 +1,9 @@
+set (CMAKE_C_FLAGS -Wall)
+
+include_directories (${CMAKE_CURRENT_SOURCE_DIR}/../)
+
+add_library (mpio STATIC mpio.c io.c debug.c smartmedia.c mmc.c directory.c
+ fat.c ecc.c cis.c)
+
+target_link_libraries (mpio -lusb)
+