From ab3a56dc1319303f63331141d3ecc1b0a10c0801 Mon Sep 17 00:00:00 2001 From: Rockingcool Date: Mon, 18 Dec 2023 22:42:45 -0600 Subject: [PATCH] Added 'debug' rule, and add relevant libraries to build commands --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f543ef..cfcea00 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,5 @@ build: - gcc pong.c -o pong -lallegro_color -lallegro_ttf -lallegro_font -lallegro_image -lallegro_primitives -lallegro + gcc pong.c -o pong -lm -lallegro_color -lallegro_ttf -lallegro_font -lallegro_image -lallegro_primitives -lallegro + +debug: + gcc pong.c -o pong -g -lm -lallegro_color -lallegro_ttf -lallegro_font -lallegro_image -lallegro_primitives -lallegro