Updated Makefile
parent
8afb6f43ec
commit
fca3d1defc
@ -1,8 +1,11 @@
|
|||||||
LDLIBS = -lraylib
|
LDLIBS = -lraylib
|
||||||
CXXFLAGS += -Wall -g -Wextra -pedantic -Werror
|
CXXFLAGS += -Wall -g -Wextra -pedantic -Werror
|
||||||
|
|
||||||
pong: main.o paddle.hpp ball.hpp math-helpers.hpp
|
pong: main.o easysock.o paddle.hpp ball.hpp math-helpers.hpp
|
||||||
g++ $(CXXFLAGS) main.o -o pong $(LDLIBS)
|
g++ $(CXXFLAGS) main.o easysock.o -o pong $(LDLIBS)
|
||||||
|
|
||||||
main.o : main.cpp
|
main.o : main.cpp
|
||||||
g++ $(CXXFLAGS) -c main.cpp -o main.o
|
g++ $(CXXFLAGS) -c main.cpp -o main.o
|
||||||
|
|
||||||
|
easysock.o : easysock.c
|
||||||
|
g++ $(CXXFLAGS) -c easysock.c -o easysock.o
|
||||||
|
Loading…
Reference in New Issue