From fc3032135f4da3662d6b727c70f22049d6e09231 Mon Sep 17 00:00:00 2001 From: BoredGuy Date: Sat, 14 Dec 2024 12:08:02 +0300 Subject: Update - Finish animation system - Fix bug where leftward/upward movement was slightly faster than downward/forward movement --- Week1-Pacman/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Week1-Pacman/Makefile') diff --git a/Week1-Pacman/Makefile b/Week1-Pacman/Makefile index f7404b6..f260d90 100644 --- a/Week1-Pacman/Makefile +++ b/Week1-Pacman/Makefile @@ -5,7 +5,7 @@ # @version 0.1 CC=gcc -CFLAGS=-Wall -lSDL2 -lSDL2_image +CFLAGS=-Wall -lSDL2 -lSDL2_image -g HEADERS=$(wildcard src/*.h) CFILES=$(wildcard src/*.c) @@ -15,4 +15,7 @@ build/pacman: $(HEADERS) $(CFILES) run: build/pacman build/pacman +debug: build/pacman + gdb build/pacman + # end -- cgit v1.2.3