Add __APPLE__ for OS X. Remove -static for OS X.
authorwarren.toomey <warren.toomey@44b2186c-a14b-0410-8c95-595313601b93>
Fri, 9 May 2008 14:05:29 +0000 (14:05 +0000)
committerwarren.toomey <warren.toomey@44b2186c-a14b-0410-8c95-595313601b93>
Fri, 9 May 2008 14:05:29 +0000 (14:05 +0000)
Makefile
defines.h

index fc1d7a6..657c4d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Makefile for Apout PDP-11 application emulator
 #
-# $Revision: 1.29 $
-# $Date: 2002/06/10 11:49:48 $
+# $Revision: 1.30 $
+# $Date: 2008/05/09 14:04:51 $
 #
 # You will need gcc if you choose the optimised compile below
 CC=gcc
@@ -12,7 +12,7 @@ CC=gcc
 #
 # These flags for doing debugging
 CFLAGS= -Wall -g -DEMU211 -DEMUV1 -DNATIVES -DDEBUG -DZERO_MEMORY -DWRITEBASE
-LDFLAGS= -static -g
+LDFLAGS= -g
 
 # These flags for speed
 #CFLAGS= -DEMU211 -DNATIVES -DINLINE=inline -O2 -Winline -Wall \
index b0d8119..7c70df0 100644 (file)
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
 /* defines.h   - Definitions of things needed in all C files
  *
- * $Revision: 2.73 $
- * $Date: 2002/06/10 12:08:27 $
+ * $Revision: 2.74 $
+ * $Date: 2008/05/09 14:04:41 $
  */
 
 #include <sys/types.h>
@@ -68,7 +68,7 @@
 #endif
 
 #if !defined(__FreeBSD__) && !defined(__NetBSD__) && \
-    !defined(__OpenBSD__) && !defined(__linux__)
+    !defined(__OpenBSD__) && !defined(__linux__) && !defined(__APPLE__)
 # define NEED_INT_N
 #endif