diff --git a/Makefile.am b/Makefile.am
index f4121f170..7772a4e9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,7 +75,7 @@ TESTS = tests
 endif
 
 if USE_ECMULT_STATIC_PRECOMPUTATION
-CPPFLAGS_FOR_BUILD +=-I$(top_srcdir)/
+CPPFLAGS_FOR_BUILD +=-I$(top_srcdir)
 CFLAGS_FOR_BUILD += -Wall -Wextra -Wno-unused-function
 
 gen_context_OBJECTS = gen_context.o