Default to release compilation type.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 19 Nov 2017 13:11:30 +0000 (14:11 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 19 Nov 2017 13:11:30 +0000 (14:11 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Makefile
lib/othello.c

index 850201703df43ef95c3dc2543a277a706826636f..639170dc0b18da7ff2f3f1715f6d0c1360ce3086 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,8 @@ SRC_PATH:=src
 LIBRARY_NAME:=lib$(BINARY_NAME)
 LIBRARY_PATH:=lib
 LDLIBS:=-l$(BINARY_NAME) -lncurses -ltinfo
-BUILD_TYPE:=debug
-#BUILD_TYPE:=release
+#BUILD_TYPE:=debug
+BUILD_TYPE:=release
 
 # ====================================
 # DO NOT CHANGE STUFF BEYOND THIS LINE
index cbc7e4f4b8f27c6baffa42552f0a9bc66d8c9b97..9138961e011027b484936dfc731d6692b3b314ab 100644 (file)
@@ -303,7 +303,6 @@ void free_shots_list(struct shots_list_s* shots_list) {
         list_del(&(list_counter->list));
         free(list_counter);
     }
-
 }
 
 void build_playable_shots_list(unsigned int current_player, struct shots_list_s* shots_list, unsigned int pawn_array[board_size][board_size]) {