chiark / gitweb /
Fix a build-breaking bug I introduced to the OS X makefile in r8931.
authorSimon Tatham <anakin@pobox.com>
Mon, 26 Apr 2010 17:26:38 +0000 (17:26 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 26 Apr 2010 17:26:38 +0000 (17:26 +0000)
(Missed off the explicit -o from the compile lines constructing
version.{i386,ppc}.o, causing both to be compiled as version.o and
dependent build steps to fail.)

[originally from svn r8933]
[r8931 == 36cee4e2796c23da15d3276e88416ad1ce035c4a]

Recipe

diff --git a/Recipe b/Recipe
index e57e7cd226415958f38c2dadc136ccb09077140b..7907a2efbdc8209b2d0e9cfa1b41212467aa793d 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -152,9 +152,9 @@ version2.def: FORCE
 # generates _nearly_ the same output, but it has no check function.
 !begin osx
 version.ppc.o: version.c version2.def
-       $(CC) -arch ppc $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version2.def` -c version.c
+       $(CC) -arch ppc $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version2.def` -c version.c -o $@
 version.i386.o: version.c version2.def
-       $(CC) -arch i386 $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version2.def` -c version.c
+       $(CC) -arch i386 $(COMPAT) $(XFLAGS) $(CFLAGS) `cat version2.def` -c version.c -o $@
 version2.def: FORCE
        if test -z "$(VER)" && test -f manifest && (md5 -r `awk '{print $$2}' manifest` | diff -w manifest -); then \
                cat version.def > version2.def.new; \