mirror of
https://github.com/DavidGailleton/42-LibUnit.git
synced 2026-11-01 05:52:03 +01:00
feat: finally tests
This commit is contained in:
1 parent
ec0df49e52
commit
760c91c949
9 files changed
+119
-6
No files matched your search
@@ -4,11 +4,14 @@ CXXFLAGS = -Wall -Wextra -Werror -MMD -MP
|
||||
CXXFLAGS += -g3
|
||||
CXXFLAGS += -I $(LIBFT_DIR)
|
||||
LDFLAGS = -Llibft -lft
|
||||
SRC = util_unit.c util_unit2.c
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
LIBFT_DIR = libft
|
||||
LIBFT_A = $(LIBFT_DIR)/libft.a
|
||||
|
||||
SRC = util_unit.c util_unit2.c launch_test.c
|
||||
SRC += tests/main.c
|
||||
SRC += tests/ft_strlen/00_launcher.c tests/ft_strlen/01_basic_test.c tests/ft_strlen/02_null_test.c
|
||||
OBJ = $(SRC:.cpp=.o)
|
||||
|
||||
all: $(NAME)
|
||||
|
||||
$(NAME): $(OBJ) | $(LIBFT_A)
|
||||
|
||||
Reference in new issue
Block a user