| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | # StarPU --- Runtime system for heterogeneous multicore architectures.## Copyright (C) 2017                                     CNRS# Copyright (C) 2015-2016                                Inria# Copyright (C) 2015                                     ONERA## StarPU is free software; you can redistribute it and/or modify# it under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation; either version 2.1 of the License, or (at# your option) any later version.## StarPU is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.## See the GNU Lesser General Public License in COPYING.LGPL for more details.#PROG = nf_exampleFSTARPU_MOD = $(shell pkg-config --cflags-only-I starpu-1.3|sed -e 's/^\([^ ]*starpu\/1.3\).*$$/\1/;s/^.* //;s/^-I//')/fstarpu_mod.f90SRCSF = nf_types.f90		\	nf_compute.f90		\	nf_example.f90FC = gfortranFCFLAGS = -fdefault-real-8 -J. -gLDLIBS =  $(shell pkg-config --libs starpu-1.3)OBJS = fstarpu_mod.o $(SRCSF:%.f90=%.o).phony: all cleanall: $(PROG)$(PROG): $(OBJS)	$(FC) $(LDFLAGS) -o $@ $^ $(LDLIBS)fstarpu_mod.o: $(FSTARPU_MOD)	$(FC) $(FCFLAGS) -c -o $@ $<%.o: %.f90	$(FC) $(FCFLAGS) -c -o $@ $<clean:	rm -fv *.o *.mod $(PROG)# modfiles generation dependencesnf_compute.o: nf_compute.f90 nf_types.o fstarpu_mod.onf_example.o: nf_example.f90 nf_types.o nf_compute.o fstarpu_mod.o
 |