build: compilation fixed on macos
This commit is contained in:
parent
43913c5deb
commit
785440c60b
5 changed files with 7 additions and 7 deletions
2
.clangd
2
.clangd
|
|
@ -1,4 +1,4 @@
|
||||||
CompilerFlags:
|
CompileFlags:
|
||||||
Add:
|
Add:
|
||||||
- "-xc"
|
- "-xc"
|
||||||
- "-I/home/rparodi/Documents/cub3d/includes"
|
- "-I/home/rparodi/Documents/cub3d/includes"
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,6 +1,7 @@
|
||||||
Cub3D
|
Cub3D
|
||||||
build/
|
build/
|
||||||
to_do*
|
to_do*
|
||||||
|
.cache/
|
||||||
# Prerequisites
|
# Prerequisites
|
||||||
*.d
|
*.d
|
||||||
|
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -6,7 +6,7 @@
|
||||||
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
||||||
# Updated: 2024/11/09 01:52:06 by bgoulard ### ########.fr #
|
# Updated: 2024/11/11 17:18:13 by rparodi ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@ CFLAGS += -g3 -MMD
|
||||||
# CFLAGS += -fsanitize=address
|
# CFLAGS += -fsanitize=address
|
||||||
# CFLAGS += -fsanitize=thread
|
# CFLAGS += -fsanitize=thread
|
||||||
|
|
||||||
INCLUDES = -I ./includes -I ./includes/include -I ./minilibx-linux
|
INCLUDES = -I /opt/X11/include -I ./includes -I ./includes/include -I ./minilibx-linux
|
||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
LIBFT_DIR = ./libft
|
LIBFT_DIR = ./libft
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
|
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/11/08 23:55:29 by bgoulard #+# #+# */
|
/* Created: 2024/11/08 23:55:29 by bgoulard #+# #+# */
|
||||||
/* Updated: 2024/11/10 05:37:11 by bgoulard ### ########.fr */
|
/* Updated: 2024/11/11 17:04:46 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -72,8 +72,7 @@ typedef struct s_map
|
||||||
typedef struct s_player
|
typedef struct s_player
|
||||||
{
|
{
|
||||||
t_dpoint pos;
|
t_dpoint pos;
|
||||||
t_dpoint dir;
|
double view;
|
||||||
t_dpoint view;
|
|
||||||
} t_player;
|
} t_player;
|
||||||
|
|
||||||
// -- cli utils
|
// -- cli utils
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/10/30 16:30:03 by rparodi #+# #+# */
|
/* Created: 2024/10/30 16:30:03 by rparodi #+# #+# */
|
||||||
/* Updated: 2024/11/10 05:48:09 by bgoulard ### ########.fr */
|
/* Updated: 2024/11/11 17:18:27 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue