Overview
Comment: | New, better syntax for objfw-compile. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
307c430b2526092b6f3e1da522f09b77 |
User & Date: | js on 2010-11-20 22:49:04 |
Other Links: | manifest | tags |
Context
2010-11-20
| ||
22:53 | Allow warning flags to be specified with objfw-compile. check-in: 323923eb73 user: js tags: trunk | |
22:49 | New, better syntax for objfw-compile. check-in: 307c430b25 user: js tags: trunk | |
2010-11-17
| ||
22:35 | Add -[parseString:] and -[parseFile:] to OFXMLParser. check-in: 08fcb79a9b user: js tags: trunk | |
Changes
Modified utils/objfw-compile from [09c20da59d] to [8637157cf3].
︙ | ︙ | |||
56 57 58 59 60 61 62 | while test x"$1" != "x"; do case "$1" in -o|--out) shift out="$1" ;; | | | 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" ;; --lib) if test x"flags_done" = x"yes"; then printf "The --lib flag needs to be specified " printf "before any source file!\n" exit 1 fi shift |
︙ | ︙ | |||
80 81 82 83 84 85 86 87 88 89 90 91 92 93 | 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)" ;; -*) echo "Unknown option: $1" exit 1 ;; *.m) flags_done="yes" obj="${1%.m}.o" | > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 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" |
︙ | ︙ |