# LDLIBS = -lfftw3
# OMPLIBS = -fopenmp
CC = gcc
FC = gfortran
BIN =
OBJS =
FOBJS =
$(BIN) : $(OBJS)
$(FC) $(OBJS) -o $(BIN) $(LDLIBS) $(OMPLIBS)
$(OBJS) : $(FOBJS)
$(FC) -c $(FOBJS) $(OMPLIBS)
run :: $(BIN)
./$(BIN)
clean ::
rm -f $(BIN) core $(OBJS)
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |