2021-10-24 11:20:36
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# By: <gbaconni@student.42lausanne.ch> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user