Fortran Makefile in Linux - XiZi's Blog

Fortran Makefile in Linux

Xizi posted @ 2013年2月24日 21:44 in Develop with tags fortran linux makefile , 2378 阅读

 

FC = ifort
FFLAGS = -O2

ALL_SRCS = $(wildcard *.f *.for *.f90)
MODSRCS = $(filter mod_%,$(ALL_SRCS))
#MODSRCS = zmod.f
MODS := $(addsuffix .o, $(basename $(MODSRCS)))

SRCS = $(filter-out mod_%,$(ALL_SRCS))
#SRCS = sub1.f \
main.f90

OBJS := $(addsuffix .o, $(basename $(SRCS)))

TARGET = Program_N
#all:
#       @echo "ALL_SRCS=$(ALL_SRCS)"
#       @echo "OBJS=$(OBJS)"
#       @echo "MODS=$(MODS)"

$(TARGET): $(OBJS)
        $(FC) $(FFLAGS) -o $@ $(MODS) $(OBJS)

clean:
        rm -f $(TARGET) *.o *.mod

$(OBJS): $(MODS)

.SUFFIXES: .o .f .for .f90

.f.o:
        $(FC) $(FFLAGS) -c $<
.for.o:
        $(FC) $(FFLAGS) -c $<
.f90.o:
        $(FC) $(FFLAGS) -c $<
Avatar_small
Maha Board 12th Mode 说:
2021年9月12日 20:07

Students Download Maha Board 12th Model Paper 2022 at Official Website, We are Providing here the Detailed Schedule for Std 12th Class Final Examination 2022. Students can Check and Download Maha Board 12th Model Paper the Routine to know Examination Dates and make their Preparation strategy in accordance with the same. Students Are you guys Searching for Maharashtra 12th Question Paper 2022 for Arts, Science, Commerce, Vocational Streams Available From this Webpage, All the Students can Download Subject wise Direct Links Attached at the end of the page, we had Provided All Maha Board 12th Class Model Question Paper 2022 Worksheet in the PDF Format.

Avatar_small
mcgm property tax 说:
2022年2月08日 07:28

The property tax is a major source of income for every municipality to spend on infrastructure and development works. The Government of India has allowed the collection of applicable tax on every property residing in the region to that state government, mcgm property tax so that the amount can be spent on roads, public places, parks, and similar constructions. Mumbai Property Tax is applicable to the property owner residing in the region of Municipal Corporation of Greater Mumbai. Being a developing center zone, Mumbai does levy minimum charges based on the property dimension.

Avatar_small
नवोदय रिजल्ट 2022 说:
2022年5月09日 00:43

The official website for the JNVST Result Date 2022 for the 2022 Class 6th and 9th exams. The Jawahar Navodaya Vidyaya Selection Test (JNVST) was held to obtain admission into different schools for Class 6th and 9th, and all of the students are now waiting for their JNVST Class 6 Result 2022. नवोदय रिजल्ट 2022 We are all known that the Admission Test is held for students seeking admission to various institutions for classes 6th and 9th, and the Navodaya Vidyalaya Result is eagerly awaited.

Avatar_small
JACK 说:
2022年6月11日 22:04

printer toner online MVP Ink & Office is a one-stop online shop that provides the best Canadian-made print products. We provide printer inks, toner cartridges, ... https://mvpinkandoffice.com/

Avatar_small
NCERT 11th Class Pol 说:
2022年6月14日 21:42

Students NCERT Political Science Books in Class XI Provide in Your Collages,Every Year Government Collages NCERT 11th Class Political Science Book 2023 free Distortion in Subject Wise new Textbook 2023s for Students, But Any Problem Books not Available in Collage Don’t Worry, NCERT Class 11th Textbook 2023s for Accountancy, Biology, BusinessStudies, Chemistry, Economics.

Avatar_small
pacman 30th annivers 说:
2022年6月27日 02:25

Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. pacman 30th anniversary

Avatar_small
DDD 说:
2022年7月26日 00:50

Over 30 years experience in roofing repairs, new roof installations and guttering in and around London, Surrey, Guildford, Epsom and Shepperton. Roof repairs Guildford

Avatar_small
MIS Portal 说:
2022年7月30日 00:16

The Government of Haryana State has designed the School Management Information System for the welfare of Schools in the state. The school staff, teachers, and students have got direct access to the portal through which most of the services easily processed. The Government of Haryana State has designed the School Management Information System for the welfare of Schools in the state. MIS Portal The MIS Portal also referred to as Saksham Haryana Education Portal which is a one-stop website for every need of Schools in Haryana. The New aspirants can utilize this option to apply for their selected school form online by submitting the application form.

Avatar_small
dark web/deep web/d 说:
2022年8月21日 00:47

If a company seems too good to be true, it probably is. Scam artists thrive on people who are looking for easy ways to make money.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 01:47

Some of the programs and websites offering this service may try to sell you something, even if they aren't really legitimate. deep web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:11

So what can we do about this question, can I make money on dark web sites? You can't actually make money through links. It's like a pyramid scheme where you have to pay for every member you recruit.  dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:33

However, it's not a guarantee that you will get links from these directories and hence, you might have to pay for the links that you have provided. dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:51

Making money through links works by linking to other websites and when your link is clicked, the people who come across your links will end up at your website.  dark web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:08

If you are going to learn how to succeed with affiliate marketing, the first thing you need to do is find an area of interest.  work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:26

When you have found an appropriate seller, the next step in your quest for success with affiliate marketing is to set up a simple website that displays the products or services offered by your selected companies. affiliate marketing success

Avatar_small
MAHMISHAL 说:
2022年10月01日 02:02

Please let me know if you’re looking for a article author for your weblog. You have some really great articles and I think I would be a good asset. If you ever want to take some of the load off, I’d love to write some material for your blog in exchange for a link back to mine. Please shoot me an e-mail if interested. Regards! alongnovember.com


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee