build: adding rules to makefile (for mlx stuff)
This commit is contained in:
parent
81bb473f56
commit
cc816e2ce9
5 changed files with 42 additions and 6 deletions
12
Makefile
12
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
# **************************************************************************** #
|
||||
|
||||
# #
|
||||
# ::: :::::::: #
|
||||
# Makefile :+: :+: :+: #
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
# By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2023/11/12 11:05:05 by rparodi #+# #+# #
|
||||
# Updated: 2024/12/17 10:57:46 by rparodi ### ########.fr #
|
||||
# Updated: 2024/12/20 13:11:09 by rparodi ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
|
@ -117,6 +117,14 @@ build/libft.a:
|
|||
build/libmlx.a:
|
||||
@make --no-print-directory -C $(MLX_DIR)
|
||||
|
||||
get_mlx:
|
||||
@git clone https://github.com/42Paris/minilibx-linux
|
||||
|
||||
get_mlx-intra:
|
||||
@wget https://cdn.intra.42.fr/document/document/26097/minilibx-linux.tgz --no-check-certificate
|
||||
@tar -xvpf ./minilibx-linux.tgz
|
||||
@rm -rf ./minilibx-linux.tgz
|
||||
|
||||
# Dependences for all
|
||||
$(NAME): $(OBJ) build/libft.a build/libmlx.a
|
||||
@mkdir -p $(OBJDIRNAME)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
SO ./textures/b.xpm
|
||||
NO ./textures/wasteland_32.xpm
|
||||
WE ./textures/sandy_32.xpm
|
||||
EA ./textures/cobblestone_32.xpm
|
||||
SO ./textures/chiseled_tuff.xpm
|
||||
NO ./textures/chiseled_tuff_bricks.xpm
|
||||
WE ./textures/chiseled_stone_bricks.xpm
|
||||
EA ./textures/chiseled_tuff_bricks_top.xpm
|
||||
|
||||
F 0,255,0
|
||||
C 0,255,255
|
||||
|
|
|
|||
0
maps/empty.cub
Normal file
0
maps/empty.cub
Normal file
28
maps/empty_textures.cub
Normal file
28
maps/empty_textures.cub
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
SO ./textures/chiseled_tuff.xpm
|
||||
NO ./textures/chiseled_tuff_bricks.xpm
|
||||
WE ./textures/chiseled_stone_bricks.xpm
|
||||
EA ./textures/chiseled_tuff_bricks_top.xpm
|
||||
|
||||
F 0,255,0
|
||||
C 0,255,255
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1111111111111111111111
|
||||
100000000S0000000000001
|
||||
10000000000000000000001
|
||||
10000000000000000000001
|
||||
11111011101100111110011
|
||||
11000000000000000000001
|
||||
11110111111111111111111
|
||||
11111111
|
||||
0
textures/empty.xpm
Normal file
0
textures/empty.xpm
Normal file
Loading…
Add table
Add a link
Reference in a new issue