diff --git a/CMakeLists.txt b/CMakeLists.txt index 338e12b..a84f9cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.5) set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Werror -std=c99") -add_library (coroutine lib/coroutine.c) -target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) +add_library (coroutine src/coroutine.c) +target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) add_executable (test-coroutine test/coroutine.c) -target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) +target_include_directories (coroutine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries (test-coroutine LINK_PUBLIC coroutine) diff --git a/lib/coroutine.c b/src/coroutine.c similarity index 100% rename from lib/coroutine.c rename to src/coroutine.c diff --git a/include/threadless/coroutine.h b/threadless/coroutine.h similarity index 100% rename from include/threadless/coroutine.h rename to threadless/coroutine.h