Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NAME = tests_unit
- CC = @g++
- RM = rm -f
- SRCS = Character.cpp \
- tests/tests.cpp
- OBJS = $(SRCS:.cpp=.o)
- CPPFLAGS = -I ./pp
- CPPFLAGS += -Wall -Wextra
- all: $(NAME)
- $(NAME): $(OBJS)
- $(CC) $(OBJS) -o $(NAME) $(LDFLAGS) --coverage -lcriterion
- ./tests_unit
- clean:
- $(RM) $(OBJS) *.g*
- fclean: clean
- $(RM) $(NAME)
- re: fclean all
- .PHONY: all clean fclean re
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement