From 416478b4f2dc115787fc633fa3c515ff74d2c1f9 Mon Sep 17 00:00:00 2001 From: aortigos Date: Sun, 7 Sep 2025 18:55:21 +0200 Subject: [PATCH] Compiler changed to c++ --- ex00/Makefile | 2 +- ex01/Makefile | 2 +- ex02/Makefile | 2 +- ex03/Makefile | 2 +- ex04/Makefile | 2 +- ex05/Makefile | 2 +- ex06/Makefile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ex00/Makefile b/ex00/Makefile index 38ba1e9..f7547c1 100644 --- a/ex00/Makefile +++ b/ex00/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp Zombie/Zombie.cpp Zombie/newZombie.cpp Zombie/randomChump.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME) diff --git a/ex01/Makefile b/ex01/Makefile index 3aadb07..aa9c6f9 100644 --- a/ex01/Makefile +++ b/ex01/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp Zombie/Zombie.cpp Zombie/zombieHorde.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME) diff --git a/ex02/Makefile b/ex02/Makefile index 4bce33a..cba633c 100644 --- a/ex02/Makefile +++ b/ex02/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME) diff --git a/ex03/Makefile b/ex03/Makefile index 8f8115d..d38ff95 100644 --- a/ex03/Makefile +++ b/ex03/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp Weapon/Weapon.cpp HumanA/HumanA.cpp HumanB/HumanB.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME) diff --git a/ex04/Makefile b/ex04/Makefile index 07d81a0..7eb1b94 100644 --- a/ex04/Makefile +++ b/ex04/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME) diff --git a/ex05/Makefile b/ex05/Makefile index c944c19..a047d81 100644 --- a/ex05/Makefile +++ b/ex05/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp Harl/Harl.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME) diff --git a/ex06/Makefile b/ex06/Makefile index d922f5f..f60bc55 100644 --- a/ex06/Makefile +++ b/ex06/Makefile @@ -4,7 +4,7 @@ SRCS=main.cpp Harl/Harl.cpp OBJS=$(SRCS:.cpp=.o) -CC=g++ +CC=c++ CFLAGS=-Wall -Wextra -Werror -std=c++98 all: $(NAME)