mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-04-11 23:12:59 +00:00
Add __APPLE__ for OS X. Remove -static for OS X.
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user