From 1316111b6c37239aa9c45889a61870cc33534338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophyl=20Hoguet?= Date: Thu, 21 Oct 2021 19:42:50 +0200 Subject: [PATCH] CMAKE qui marche --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b5f403..03d461d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,5 +12,5 @@ set(CMAKE_C_FLAGS "-std=c99 -g -Wall") add_executable(game_text game_text.c) #les dépendances sont calculées automatiquement -target_link_libraries(game_text libgame.a) -add_library (libgame.a game.o game_aux.c) +target_link_libraries(game_text game) +add_library (game game.o game_aux.c)