Fix a build-breaking bug I introduced to the OS X makefile in r8931.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 26 Apr 2010 17:26:38 +0000 (17:26 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
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.)

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@8933 cda61777-01e9-0310-a592-d414129be87e

Recipe

diff --git a/Recipe b/Recipe
index e57e7cd..7907a2e 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; \