summaryrefslogtreecommitdiff
blob: e6f5bd510dc34d75717e653564dac6f3ac69f8c4 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
+LIBS += -lncurses -lpthread
 all:
-	g++ -O3 -Wall -o clockywock clockywock.cpp -lncurses -lpthread
+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o clockywock clockywock.cpp $(LIBS)
 
 # install is done completely lazily
 install: