first commit

This commit is contained in:
YANNIS
2025-05-29 16:06:07 +02:00
commit 33c6f3ccff
6 changed files with 102 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
NAME = Bomberman
CC = g++
CFLAGS = -Wall -Wextra -Werror -g3
SRC = main.cpp \
Bomberman.cpp \
OBJ = $(SRC:.cpp=.o)
all: $(NAME)
$(NAME): $(OBJ)
$(CC) $(CFLAGS) -o $@ $^
$(OBJ): $(SRC)
$(CC) $(CFLAGS) -c $(SRC) -o $@
clean:
rm -f $(OBJ)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re