Added Makefile
This commit is contained in:
parent
1c7d7f91c7
commit
555bed312f
9
SDL2/pong/Makefile
Normal file
9
SDL2/pong/Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
all:pong
|
||||||
|
|
||||||
|
CC = g++
|
||||||
|
LDFLAGS = $(shell sdl2-config --libs --cflags) -ldl
|
||||||
|
|
||||||
|
pong:
|
||||||
|
$(CC) $@.cpp $(LDFLAGS) -o $@
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user