Added Clean option to Pong Makefile
This commit is contained in:
parent
5faed27d05
commit
00da93c793
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user