Hi,
1) I just copy the file into the source folder (where all my other
source files are) and then click right click on the tree and "refresh"
2) Below is a copy of my Makefile, which does not have your problem
3) Don't use spaces in directory or file names. Period! This always
seems to cause problems.
Hope this helps,
Jure.
PROGRAM = test_pLSQRsol
VERSION = 0.2
OBJECTS = test_pLQSRsol.o lib_util.o lib_Solve_v09.o lib_Blas.o
lib_Time.o \
lib_parLSQRsol.o lib_spLSQRsol.o
ARCH = `uname`
INST = $(HOME)/bin
# LINUX (intel)
#-------
ifneq (,$(findstring linux,$(HOSTTYPE)))
FC = ifort
# Debug version OPT = -g -C -traceback -warn all -check all
OPDE= d
# Optimized version
# OPT = -O3
# OPDE= o #FCOPTS = -u -132 -pc80 -Vaxlib -fpp -Dos=1
FCOPTS = -u -132 -Dos=1 -I/opt/mpich-1.2.5.2-f90/include
LDOPTO = -L/opt/mpich-1.2.5.2-f90/lib -lmpich
all: $(OBJECTS)
$(FC) -o $(PROGRAM)-$(VERSION) $(FCOPTS) $(OPT) $(OBJECTS) $(LDOPTO)
clean:
rm -f *.o .#*
$(OBJECTS): %.o: %.f
$(FC) $(FCOPTS) $(OPT) -c $<
install:
cp $(PROGRAM)-$(VERSION) $(INST)/$(PROGRAM)-$(VERSION)-$(OPDE)
Dne 29.07.2009 (sre) ob 12:11 -0300 je Bruno zapisal(a):
Hello,
I have 3 very dummy questions concerning the Eclipse-Photran IDE
(and I don't know if that's the right place to ask them):
1) How do include existing source files in a project?
2) When I run a program, the make utility does not seem to recognize
when no source file has been altered, and thus always rebuild the
program prior to running it. How can I make it realize when nothing
has changed?
3) Is there a way to invoke the debugger from a project whose path
contain spaces?
My config: Windows XP + MinGW/MSYS and gfortran/gdb.
Thanks
B.
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran