diff --git a/Makefile b/Makefile index cfcea00..3a834b2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -build: - gcc pong.c -o pong -lm -lallegro_color -lallegro_ttf -lallegro_font -lallegro_image -lallegro_primitives -lallegro +LDLIBS = -lm -lallegro_color -lallegro_ttf -lallegro_font -lallegro_image -lallegro_primitives -lallegro +CFLAGS += -g -Wall -Wextra -debug: - gcc pong.c -o pong -g -lm -lallegro_color -lallegro_ttf -lallegro_font -lallegro_image -lallegro_primitives -lallegro +pong: