diff --git a/libft/Makefile b/libft/Makefile index a9a0e2d..4a22527 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -6,7 +6,7 @@ # By: +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/10/22 09:10:00 by gbaconni #+# #+# # -# Updated: 2021/10/24 09:32:25 by gbaconni ### lausanne.ch # +# Updated: 2021/10/24 11:17:59 by gbaconni ### lausanne.ch # # # # **************************************************************************** # # @@ -41,8 +41,12 @@ RMFLAGS = -f all: compile debug: - @make re DEBUG=1 - @make test DEBUG=1 + @make -C $(LIBRARY) re DEBUG=1 + $(CC) $(CFLAGS) -I$(INCLUDE) $(SRC) -I${LIBRARY} -L${LIBRARY} ${LIBS} -DMUNIT_DISABLE_TIMING=1 -o $(OUT) + +fast: + @make -C $(LIBRARY) re FAST=1 + $(CC) $(CFLAGS) -I$(INCLUDE) $(SRC) -I${LIBRARY} -L${LIBRARY} ${LIBS} -DMUNIT_DISABLE_TIMING=1 -o $(OUT) setup: @echo "Set the location of your libft to:" @@ -102,7 +106,7 @@ d: compile _libft-unit-test @echo "less libft-unit-test/result.log" @echo "" -e: compile _libft-unit-test +e: fast _libft-unit-test @make -C libft-unit-test b || true test: a b c d @@ -113,6 +117,7 @@ update: compile: @make -C $(LIBRARY) all $(CC) $(CFLAGS) -I$(INCLUDE) $(SRC) -I${LIBRARY} -L${LIBRARY} ${LIBS} -DMUNIT_DISABLE_TIMING=1 -o $(OUT) + clean: @make -C $(LIBRARY) clean || true @make -C libftTester clean || true