ObjFW  Check-in [966be5c440]

Overview
Comment:objfw-compile: Use OBJCFLAGS for dependencies
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 966be5c440592f60f75e90b872567205982b046570cf8432b4ac74756a304250
User & Date: js on 2017-04-02 20:19:06
Other Links: manifest | tags
Context
2017-04-06
20:19
Prepare OFStringTests for different string classes check-in: 561522ae8c user: js tags: trunk
2017-04-02
20:19
objfw-compile: Use OBJCFLAGS for dependencies check-in: 966be5c440 user: js tags: trunk
16:02
Avoid the anonymous namespace for ObjC++ with GCC check-in: 35934a9594 user: js tags: trunk
Changes

Modified utils/objfw-compile from [3302946bbe] to [3fef84efeb].

240
241
242
243
244
245
246
247

248
249
250
251
252
253
254
			else
				obj="$builddir${i%.mm}.o"
			fi
			;;
	esac
	objs="$objs $obj"
	build="no"
	deps=$($OBJC -E -M $CPPFLAGS $i | sed 's/.*: //' | sed 's/\\//g')


	if test -f "$obj"; then
		for dep in $deps; do
			test "$dep" -nt $obj && build="yes"
		done
	else
		build="yes"







|
>







240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
			else
				obj="$builddir${i%.mm}.o"
			fi
			;;
	esac
	objs="$objs $obj"
	build="no"
	deps=$($OBJC -E -M $CPPFLAGS $OBJCFLAGS $i |
		sed 's/.*: //' | sed 's/\\//g')

	if test -f "$obj"; then
		for dep in $deps; do
			test "$dep" -nt $obj && build="yes"
		done
	else
		build="yes"