diff --git a/Makefile b/Makefile
index 638a9e67b6d1acf6f140f4d1b2e4030386be3024..2391f1cdb0520c9dcc98bd72e68640e7a84d46df 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CXX = g++ -g -Wall -std=c++11 -Og
-CFLAGS = $(shell root-config --cflags)
+CFLAGS = $(shell root-config --cflags) -Wunused-function
 LIBS := $(shell root-config --libs)
 
 all: libPlottingHelper.so plottingHelper_C.so