Differences From Artifact [f175931f09]:
- File utils/objfw-compile — part of check-in [7e95e4a343] at 2012-07-14 09:59:30 on branch trunk — objfw-compile: Always add -Wall. (user: js, size: 5118) [annotate] [blame] [check-ins using]
To Artifact [932a63db2d]:
- File
utils/objfw-compile
— part of check-in
[0869b36536]
at
2012-07-29 15:23:25
on branch trunk
— objfw-config: Always add -g to the flags.
If no debug flags are desired, they can be stripped later. But usually,
objfw-compile is used to quickly test things, therefore -g by default
makes a lot of sense. (user: js, size: 5121) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | if ! which $OBJFW_CONFIG 2>&1 >/dev/null; then echo "You need to have ObjFW and $OBJFW_CONFIG installed!" exit 1 fi CPPFLAGS="$CPPFLAGS $($OBJFW_CONFIG --cppflags)" OBJC="$($OBJFW_CONFIG --objc)" | | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | if ! which $OBJFW_CONFIG 2>&1 >/dev/null; then echo "You need to have ObjFW and $OBJFW_CONFIG installed!" exit 1 fi CPPFLAGS="$CPPFLAGS $($OBJFW_CONFIG --cppflags)" OBJC="$($OBJFW_CONFIG --objc)" OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --objcflags) -Wall -g" LIBS="$LIBS $($OBJFW_CONFIG --libs)" LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --ldflags --rpath)" if test x"$1" = "x"; then echo "Syntax: objfw-compile -o outname source1.m source2.m ..." exit 1 fi |
︙ | ︙ |