]> git.stg.codes - stg.git/blobdiff - projects/sgconv/build
Added COMMAND_FUNCTOR and COMMAND_ACTION.
[stg.git] / projects / sgconv / build
index 7e430be2fe4f8438b3ad727862d1b8d5f2649628..580d515a8a9e51eb6764ff02a84214569a5de06f 100755 (executable)
@@ -21,6 +21,7 @@ if [ "$1" = "debug" ]
 then
    DEFS="$DEFS -DDEBUG"
    MAKEOPTS="$MAKEOPTS -j1"
+   CFLAGS="$CFLAGS -ggdb3 -W -Wall -Wextra"
    CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
    DEBUG="yes"
 else
@@ -28,6 +29,7 @@ else
    DEBUG="no"
 fi
 
+CFLAGS="$CFLAGS -ggdb3 -W -Wall -I/usr/local/include"
 CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -I/usr/local/include"
 LDFLAGS="$LDFLAGS -L/usr/local/lib"