summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDominik Kaiser2024-05-14 12:45:49 +0200
committerDominik Kaiser2024-05-14 12:45:49 +0200
commit300128b8b0eaf4e6dd04c076887721dc645c939e (patch)
tree42ade0794bb118ded99c0528dde17d59c78eb047 /Makefile
parent7b021c4426f21bf20fed61459ddedb5224e25bc4 (diff)
downloadso_long-300128b8b0eaf4e6dd04c076887721dc645c939e.tar.gz
so_long-300128b8b0eaf4e6dd04c076887721dc645c939e.zip
Outsource player processing and add collision func
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 763c897..84d93f3 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,8 @@ HEADERS = -Iinclude -Ilibft -IMLX42/include
LIBS = -Llibft -lft -lm -LMLX42/build -lmlx42 -ldl -lglfw -pthread
VPATH := src
-SRC = main.c init.c loop.c input.c draw.c tilemap.c
+SRC = main.c init.c loop.c input.c draw.c tilemap.c player_process.c \
+ collision.c
OBJ_DIR := obj
OBJ := $(addprefix $(OBJ_DIR)/, $(SRC:%.c=%.o))