termux-packages/packages/snake/makefile.patch

8 lines
337 B
Diff

--- ./makefile~ 2017-06-09 13:15:17.000000000 +0200
+++ ./makefile 2020-09-08 13:59:03.970320442 +0200
@@ -1,2 +1,2 @@
all:
- g++ -std=c++11 main.cpp snake.cpp input.cpp snake_map.cpp -o snake -lpthread
\ No newline at end of file
+ $(CXX) $(CFLAGS) $(CXXFLAGS) $(LDFLAGS) -std=c++11 main.cpp snake.cpp input.cpp snake_map.cpp -o snake