ObjFW  Check-in [4708bb6887]

Overview
Comment:Allow debugging & optimization flags to be specified with objfw-compile.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4708bb6887e7489a0ed40c72dbba15408f33be06340b5001cb629391217b0e8b
User & Date: js on 2010-11-20 22:57:29
Other Links: manifest | tags
Context
2010-11-21
00:03
There is no compiler supporting blocks but not properties.
This allows us to always use properties for blocks.
check-in: aaf4e02cb8 user: js tags: trunk
2010-11-20
22:57
Allow debugging & optimization flags to be specified with objfw-compile. check-in: 4708bb6887 user: js tags: trunk
22:53
Allow warning flags to be specified with objfw-compile. check-in: 323923eb73 user: js tags: trunk
Changes

Modified utils/objfw-compile from [87a8c24a63] to [238d9fe9f5].

87
88
89
90
91
92
93



94
95
96
97
98
99
100
		-D)
			shift
			CPPFLAGS="$CPPFLAGS -D$1"
			;;
		-D*)
			CPPFLAGS="$CPPFLAGS $1"
			;;



		-I)
			shift
			CPPFLAGS="$CPPFLAGS -I$1"
			;;
		-I*)
			CPPFLAGS="$CPPFLAGS $1"
			;;







>
>
>







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
		-D)
			shift
			CPPFLAGS="$CPPFLAGS -D$1"
			;;
		-D*)
			CPPFLAGS="$CPPFLAGS $1"
			;;
		-g*)
			OBJCFLAGS="$OBJCFLAGS $1"
			;;
		-I)
			shift
			CPPFLAGS="$CPPFLAGS -I$1"
			;;
		-I*)
			CPPFLAGS="$CPPFLAGS $1"
			;;
108
109
110
111
112
113
114



115
116
117
118
119
120
121
		-L)
			shift
			LIBS="$LIBS -L$1"
			;;
		-L*)
			LIBS="$LIBS $1"
			;;



		-W*)
			OBJCFLAGS="$OBJCFLAGS $1"
			;;
		-*)
			echo "Unknown option: $1"
			exit 1
			;;







>
>
>







111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
		-L)
			shift
			LIBS="$LIBS -L$1"
			;;
		-L*)
			LIBS="$LIBS $1"
			;;
		-O*)
			OBJCFLAGS="$OBJCFLAGS $1"
			;;
		-W*)
			OBJCFLAGS="$OBJCFLAGS $1"
			;;
		-*)
			echo "Unknown option: $1"
			exit 1
			;;