Differences From Artifact [09c20da59d]:
- File
utils/objfw-compile
— part of check-in
[56838a4124]
at
2010-11-16 00:49:33
on branch trunk
— objfw-compile uses rpath now.
This way, everything works nicely even if ObjFW is installed in a path
not known by the linker. (user: js, size: 3083) [annotate] [blame] [check-ins using]
To Artifact [8637157cf3]:
- File utils/objfw-compile — part of check-in [307c430b25] at 2010-11-20 22:49:04 on branch trunk — New, better syntax for objfw-compile. (user: js, size: 3408) [annotate] [blame] [check-ins using]
︙ | |||
56 57 58 59 60 61 62 | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | - + | while test x"$1" != "x"; do case "$1" in -o|--out) shift out="$1" ;; |
︙ | |||
80 81 82 83 84 85 86 87 88 89 90 91 92 93 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + | lib="yes" OBJCFLAGS="$OBJCFLAGS $($OBJFW_CONFIG --lib-cflags)" LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --lib-ldflags)" out_prefix="$($OBJFW_CONFIG --lib-prefix)" out_suffix="$($OBJFW_CONFIG --lib-suffix)" ;; -D) shift CPPFLAGS="$CPPFLAGS -D$1" ;; -D*) CPPFLAGS="$CPPFLAGS $1" ;; -I) shift CPPFLAGS="$CPPFLAGS -I$1" ;; -I*) CPPFLAGS="$CPPFLAGS $1" ;; -l) shift LIBS="$LIBS -l$1" ;; -l*) LIBS="$LIBS $1" ;; -L) shift LIBS="$LIBS -L$1" ;; -L*) LIBS="$LIBS $1" ;; -*) echo "Unknown option: $1" exit 1 ;; *.m) flags_done="yes" obj="${1%.m}.o" |
︙ |