makefilefix
This commit is contained in:
parent
b0eab015f8
commit
15fde9a856
8
Makefile
8
Makefile
@ -6,13 +6,13 @@
|
|||||||
# By: djonker <marvin@codam.nl> +#+ #
|
# By: djonker <marvin@codam.nl> +#+ #
|
||||||
# +#+ #
|
# +#+ #
|
||||||
# Created: 2020/12/19 06:09:46 by djonker #+# #+# #
|
# Created: 2020/12/19 06:09:46 by djonker #+# #+# #
|
||||||
# Updated: 2023/02/25 03:31:41 by houtworm \___)=(___/ #
|
# Updated: 2023/03/01 23:56:45 by djonker \___)=(___/ #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
NAME =push_swap
|
NAME =push_swap
|
||||||
CC =cc
|
CC =cc
|
||||||
FC =-Wall -Werror -Wextra -g -fsanitize=address
|
CFLAGS =-Wall -Werror -Wextra -g -fsanitize=address
|
||||||
RM =rm -f
|
RM =rm -f
|
||||||
PSSRC =src/push_swap.c
|
PSSRC =src/push_swap.c
|
||||||
PSOBJ =obj/push_swap.o
|
PSOBJ =obj/push_swap.o
|
||||||
@ -68,12 +68,12 @@ $(CHOBJ): $(CHSRC)
|
|||||||
|
|
||||||
$(NAME): $(OBJ) $(PSOBJ)
|
$(NAME): $(OBJ) $(PSOBJ)
|
||||||
@printf "\e[1;36mCompiling $@\e[0;00m\n"
|
@printf "\e[1;36mCompiling $@\e[0;00m\n"
|
||||||
@$(CC) $(FC) -o $@ $(PSOBJ) $(OBJ) $(LIB)
|
@$(CC) $(CFLAGS) -o $@ $(PSOBJ) $(OBJ) $(LIB)
|
||||||
@printf "\e[1;32mDone\e[0;00m\n"
|
@printf "\e[1;32mDone\e[0;00m\n"
|
||||||
|
|
||||||
checker: $(OBJ) $(CHOBJ)
|
checker: $(OBJ) $(CHOBJ)
|
||||||
@printf "\e[1;36mCompiling checker\e[0;00m\n"
|
@printf "\e[1;36mCompiling checker\e[0;00m\n"
|
||||||
@$(CC) $(FC) -o $@ $(CHOBJ) $(OBJ) $(LIB)
|
@$(CC) $(CFLAGS) -o $@ $(CHOBJ) $(OBJ) $(LIB)
|
||||||
@printf "\e[1;32mDone\e[0;00m\n"
|
@printf "\e[1;32mDone\e[0;00m\n"
|
||||||
|
|
||||||
libft:
|
libft:
|
||||||
|
0
tests/mchecker
Normal file → Executable file
0
tests/mchecker
Normal file → Executable file
Loading…
Reference in New Issue
Block a user