add rm tests in makefile fclean rule
This commit is contained in:
3
Makefile
3
Makefile
@ -42,7 +42,7 @@ LFT_DIR = libft/
|
|||||||
|
|
||||||
all: libft_malloc.so
|
all: libft_malloc.so
|
||||||
|
|
||||||
tests: $(OBJS_DIR) $(NAME) $(LFT) tests.c
|
tests: $(OBJS_DIR) libft_malloc.so $(LFT) tests.c
|
||||||
$(CC) -o tests $(FLAGS) tests.c -L. -lft_malloc $(LFT) -Wl,-rpath=.
|
$(CC) -o tests $(FLAGS) tests.c -L. -lft_malloc $(LFT) -Wl,-rpath=.
|
||||||
|
|
||||||
libft_malloc.so: $(NAME)
|
libft_malloc.so: $(NAME)
|
||||||
@ -67,6 +67,7 @@ clean:
|
|||||||
fclean: clean
|
fclean: clean
|
||||||
rm -f "$(NAME)"
|
rm -f "$(NAME)"
|
||||||
rm -f libft_malloc.so
|
rm -f libft_malloc.so
|
||||||
|
rm -f tests
|
||||||
|
|
||||||
re: fclean all
|
re: fclean all
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user