diff --git a/.gitignore b/.gitignore
index d56db31..299e03f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,3 +23,6 @@ radsecproxy
 radsecproxy-conf
 radsecproxy-hash
 radsecproxy.conf.5
+tests/t_fticks
+tests/*.log
+tests/*.trs
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 91b037a..b8fcd19 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,7 +1,7 @@
 AUTOMAKE_OPTIONS = foreign
 
 check_PROGRAMS = t_fticks
-AM_CFLAGS = -g -Wall -Werror @TARGET_CFLAGS@
+AM_CFLAGS = -g -Wall -Werror @SSL_CFLAGS@ @TARGET_CFLAGS@
 LDADD = $(top_builddir)/librsp.a @SSL_LIBS@
 
 TESTS = $(check_PROGRAMS)