Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ScKaSx

macrumors regular
Original poster
Feb 27, 2006
105
0
Hi All,

Here's a make file I'm trying to run:

CC = g++
FF = g77
CLIB = -lm
LIBS =-L/usr/lib/lg2c
CFLAGS = -O2 -I$(HOME)/include
FFLAGS =
OBJS = fit1.o lmdif.o
main: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LIBS) $(CLIB) -o run
lmdif.o: lmdif.f
$(FF) $(FFLAGS) -c lmdif.f
fit1.o: fit1.cc
$(CC) $(CFLAGS) -c fit1.cc

Does anyone know how I can make this run on my mac? I know I will need a fortran compiler (where do I get one and how do I install it)? Thanks a bunch

Cheers
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.