From 00da93c793ee89ba1de251ee9c3b0a6ce8c38193 Mon Sep 17 00:00:00 2001 From: Armando Rivera Date: Sun, 10 Nov 2013 21:15:30 -0500 Subject: [PATCH] Added Clean option to Pong Makefile --- SDL2/pong/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SDL2/pong/Makefile b/SDL2/pong/Makefile index 3a87943..657c517 100644 --- a/SDL2/pong/Makefile +++ b/SDL2/pong/Makefile @@ -4,6 +4,8 @@ CC = g++ LDFLAGS = $(shell sdl2-config --libs --cflags) -ldl pong: - $(CC) $@.cpp $(LDFLAGS) -o $@ - + $(CC) -Wno-unused $@.cpp $(LDFLAGS) -o $@ + +clean: + @rm -f pong