Index: /trunk/source/lisp-kernel/darwinx8632/Makefile
===================================================================
--- /trunk/source/lisp-kernel/darwinx8632/Makefile	(revision 13599)
+++ /trunk/source/lisp-kernel/darwinx8632/Makefile	(revision 13600)
@@ -32,9 +32,10 @@
 WFORMAT = -Wno-format
 CC=gcc-4.0
+PLATFORM_H = platform-darwinx8632.h
 
 .s.o:
 	$(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
 .c.o:
-	$(CC) -I./ -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
+	$(CC) -include ../$(PLATFORM_H) -c -arch i386 $< $(CDEFINES) $(CDEBUG) $(COPT) $(MDYNAMIC_NO_PIC) $(WFORMAT) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
 
 SPOBJ = x86-spjump32.o x86-spentry32.o x86-subprims32.o
@@ -52,5 +53,5 @@
 CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
 	lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
-	Threads.h lisptypes.h x86-constants32.h x86-exceptions.h
+	Threads.h lisptypes.h x86-constants32.h x86-exceptions.h $(PLATFORM_H)
 
 # Subprims linked into the kernel ?
Index: /trunk/source/lisp-kernel/darwinx8664/Makefile
===================================================================
--- /trunk/source/lisp-kernel/darwinx8664/Makefile	(revision 13599)
+++ /trunk/source/lisp-kernel/darwinx8664/Makefile	(revision 13600)
@@ -55,9 +55,10 @@
 # however.
 WFORMAT = -Wno-format
+PLATFORM_H = platform-darwinx8664.h
 
 .s.o:
 	$(M4) $(M4FLAGS) -I../ $< | $(AS) $(ASFLAGS) -o $@
 .c.o:
-	$(CC) -I./ -c $< -arch x86_64 $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(MDYNAMIC_NO_PIC) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
+	$(CC) -include ../$(PLATFORM_H) -c $< -arch x86_64 $(CDEFINES) $(CDEBUG) $(COPT) $(WFORMAT) $(MDYNAMIC_NO_PIC) -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -o $@
 
 SPOBJ = x86-spjump64.o x86-spentry64.o x86-subprims64.o 
@@ -75,5 +76,5 @@
 CHEADERS = area.h bits.h x86-constants.h lisp-errors.h gc.h lisp.h \
 	lisp-exceptions.h lisp_globals.h macros.h memprotect.h image.h \
-	Threads.h lisptypes.h x86-constants64.h x86-exceptions.h
+	Threads.h lisptypes.h x86-constants64.h x86-exceptions.h $(PLATFORM_H)
 
 # Subprims linked into the kernel ?
