Commit 89b761b4 authored by Seblu's avatar Seblu

"Retirage" de DEBUG42 dans les options de compil

ajout du repertoire pour le man

parent a49bbbdc
......@@ -13,7 +13,7 @@ command: simple_command
| shell_command (redirection)*
| funcdec
simple_command: (cmp_prefix)* (element)+
simple_command: (prefix)* (element)+
shell_command: '{' compound_list '}'
| '(' compound_list ')'
......@@ -35,7 +35,7 @@ redirection: [NUMBER] '>' WORD
| [NUMBER] '>|' WORD
| [NUMBER] '<>' WORD
cmd_prefix: ASSIGMENT_WORD
prefix: ASSIGMENT_WORD
| redirection
element: WORD
......
lexer: verifier si un EOF apparait si le dernier token est bien pris en compte
\ No newline at end of file
......@@ -26,6 +26,7 @@ case $host_os in
;;
*linux*)
AC_SUBST([CFLAGS], ['-Wall -Werror -W -std=c99 -pedantic -D_XOPEN_SOURCE=600'])
AC_SUBST([LDFLAGS], ['-static'])
;;
*)
pl="`uname -s`"
......@@ -89,7 +90,7 @@ AC_ARG_WITH([debug],
[AS_HELP_STRING([--with-debug], [use -g and don't use -DNDEBUG -O3])],
[dnl action-if-given: --with-debug => -g || --without-debug => -DNDEBUG
if test x$withval = xyes; then
CFLAGS="$CFLAGS -g -DDEBUG42"
CFLAGS="$CFLAGS -g"
else
CFLAGS="$CFLAGS -DNDEBUG -O3"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment