diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-16 12:45:44 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-16 13:03:02 +0100 |
| commit | 975ec3edd112c1a7908c0d97dc49592a22076b71 (patch) | |
| tree | 4298e49593c225ae8ae5be4d4f07f3c7f8b69f07 /Makefile | |
| parent | a4fd7a681376899526cfe38c0449f90feb0f582e (diff) | |
| download | cub3d-975ec3edd112c1a7908c0d97dc49592a22076b71.tar.gz cub3d-975ec3edd112c1a7908c0d97dc49592a22076b71.tar.bz2 cub3d-975ec3edd112c1a7908c0d97dc49592a22076b71.zip | |
Basic render of the map
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,23 +5,23 @@ CC = gcc CCFLAGS = -I$(LIBFT_PATH) -I$(MINILIBX_PATH) -I. -Wall -Wextra #-Werror LDFLAGS = -L$(LIBFT_PATH) -lft \ -L$(MINILIBX_PATH) -lmlx \ - -framework OpenGL -framework AppKit + -framework OpenGL -framework AppKit -lm NAME = cub3D SRC = main.c event.c parse/parse.c parse/parse_east_texture.c \ parse/parse_north_texture.c parse/parse_south_texture.c \ parse/parse_west_texture.c parse/parse_ceilling_color.c \ parse/parse_floor_color.c parse/parse_resolution.c \ - parse/parse_sprite_texture.c + parse/parse_sprite_texture.c graphics.c OBJ = $(SRC:.c=.o) INCLUDE = cub3d.h all: libft_all minilibx_all $(NAME) -$(NAME): $(OBJ) $(INCLUDE) +$(NAME): $(OBJ) $(CC) $(LDFLAGS) -o $@ $(OBJ) -%.o: %.c +%.o: %.c $(INCLUDE) $(CC) $(CCFLAGS) -c -o $@ $< clean: libft_clean minilibx_clean |
