mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
fix: Fixed makefile not building mlx
This commit is contained in:
parent
4a513e9877
commit
d78e358b82
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -55,7 +55,7 @@ all: $(OBJECTS) $(NAME)
|
|||
-include $(DEPS)
|
||||
|
||||
$(NAME): $(OBJECTS)
|
||||
if [[ "$$(echo $$LD_LIBRARY_PATH | grep -c minilibx)" == "0" ]]; then $(MAKE) CC=cc -C mlx/; fi
|
||||
+$(MAKE) CC=cc -C mlx/
|
||||
+$(MAKE) -C libft/
|
||||
$(CC) $(CFLAGS) $(IFLAGS) $(OBJECTS) -o $(NAME) -Llibft -Lmlx -lft -lmlx -lz -lXext -lX11 -lm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue