test/parser: Fixed uninitialized variable warning
[petitboot] / test / Makefile.am
index 65628368227066222b7677e76004c9db7d293d8b..427041b4af88b66ec6dfcacad24f330b72d8620d 100644 (file)
@@ -17,10 +17,8 @@ AM_LOG_FLAGS = --leak-check=full --error-exitcode=1
 export LOG_COMPILER AM_LOG_FLAGS
 endif
 
-SUBDIRS = lib parser urls
+noinst_SCRIPTS = test/hotplug-device.sh
+EXTRA_DIST += $(noinst_SCRIPTS)
 
-noinst_SCRIPTS = hotplug-device.sh
-
-EXTRA_DIST = $(noinst_SCRIPTS)
-
-MAINTAINERCLEANFILES = Makefile.in
+$(check_PROGRAMS): AM_CFLAGS = -O0 -g -Wall -Wextra -Werror
+$(check_PROGRAMS): AM_CPPFLAGS = -DDEBUG -I$(top_srcdir)/lib