Added Clean option to Pong Makefile

This commit is contained in:
Armando Rivera 2013-11-10 21:15:30 -05:00
parent 5faed27d05
commit 00da93c793

View File

@ -4,6 +4,8 @@ CC = g++
LDFLAGS = $(shell sdl2-config --libs --cflags) -ldl LDFLAGS = $(shell sdl2-config --libs --cflags) -ldl
pong: pong:
$(CC) $@.cpp $(LDFLAGS) -o $@ $(CC) -Wno-unused $@.cpp $(LDFLAGS) -o $@
clean:
@rm -f pong