ex05 added newline and ex06 done

This commit is contained in:
Angel Ortigosa Perez
2025-09-07 10:25:48 +02:00
parent a40a112989
commit c099aa5136
5 changed files with 164 additions and 0 deletions

26
ex06/Makefile Normal file
View File

@@ -0,0 +1,26 @@
NAME=harlFilter
SRCS=main.cpp Harl/Harl.cpp
OBJS=$(SRCS:.cpp=.o)
CC=g++
CFLAGS=-Wall -Wextra -Werror -std=c++98
all: $(NAME)
$(NAME): $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o $(NAME)
%.o: %.cpp
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f $(OBJS)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: all clean fclean re