Rename test.c to example.c

This commit is contained in:
R. Eric Wheeler 2021-02-22 15:33:01 -08:00
parent 42902a9521
commit 4893b45e1e
2 changed files with 2 additions and 5 deletions

View File

@ -4,6 +4,6 @@ project(getch C)
set(CMAKE_C_STANDARD 11)
add_library(getch SHARED getch.c getch.h)
add_executable(test test.c )
add_executable(example example.c )
target_link_libraries(test -L./build getch)
target_link_libraries(example -L./build getch)

View File

@ -12,8 +12,5 @@ int main() {
printf("Special Key : %d\n", key);
}
key = _getch();
printf("Anything left? : %d\n", key);
return 0;
}