Réglé le makefile
This commit is contained in:
8
makefile
8
makefile
@@ -2,7 +2,7 @@
|
||||
CC = gcc
|
||||
|
||||
# options de compilation
|
||||
CFLAGS = -Wall -Wextra -Werror
|
||||
CFLAGS = -Wall -Wextra
|
||||
LDFLAGS = -lgraph
|
||||
|
||||
# nom de l'exécutable
|
||||
@@ -43,14 +43,8 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c
|
||||
# nettoyage des fichiers objets
|
||||
clean:
|
||||
rm -rf $(OBJ_DIR)
|
||||
|
||||
# nettoyage complet (fichiers objets et exécutable)
|
||||
fclean: clean
|
||||
rm -f $(NAME)
|
||||
|
||||
# recompilation complète
|
||||
re: fclean all
|
||||
|
||||
# exécution du programme
|
||||
run: all
|
||||
./$(NAME)
|
||||
|
||||
Reference in New Issue
Block a user