mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
a variety of platforms, is able to handle large, complex simulations, but is also reasonably easy for novices to operate. PR: ports/112577 Submitted by: Jason W. Bacon <bacon at smithers.neuro.mcw.edu>
27 lines
727 B
Text
27 lines
727 B
Text
--- Makefile.orig Tue Dec 9 13:13:54 2003
|
|
+++ Makefile Thu May 10 11:19:20 2007
|
|
@@ -6,7 +6,7 @@
|
|
#CFLAGS = -w1 -O3 -march=pentiumiii -mcpu=pentiumpro -DAVOID_NAN_TEST
|
|
#MACHINE = INTEL
|
|
MAKE = /usr/bin/make
|
|
-SYSLIB = -export-dynamic -ldl -L/usr/X11R6/lib
|
|
+SYSLIB = -export-dynamic -ldl -L${X11BASE}/lib
|
|
|
|
# Windows 95/98/NT using Cygwin:
|
|
ifeq ($(HOSTTYPE),i686)
|
|
@@ -14,6 +14,15 @@
|
|
CFLAGS = -Wall -O4 -march=i486
|
|
MAKE = make
|
|
EXT = .exe
|
|
+ SYSLIB =
|
|
+endif
|
|
+# FreeBSD
|
|
+ifeq ($(HOSTTYPE),FreeBSD)
|
|
+ MACHINE = FREEBSD
|
|
+ MAKE = gmake
|
|
+ CC = cc
|
|
+ CFLAGS = -pipe -O -DAVOID_NAN_TEST -DHAVE_LIMITS_H -DHAVE_UNISTD_H
|
|
+ EXT =
|
|
SYSLIB =
|
|
endif
|
|
# Macintosh X:
|