File: Makefile

package info (click to toggle)
emoslib 000382%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 49,276 kB
  • sloc: fortran: 90,253; ansic: 26,730; makefile: 417; sh: 388; f90: 276
file content (24 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
#                                 Makefile for example programs
#
PLACE = ../../
LIB = emos
#
include $(PLACE)config/config.$(ARCH)$(CNAME)$(R64)$(A64)
#
include $(PLACE)options/options_$(ARCH)
#
#
TARGETS = all clean
EXECS   = interpolation_example
#
#
all: $(EXECS)

interpolation_example: interpolation_example.o
	$(FC) $(FFLAGS) -o $@ interpolation_example.o -L$(PLACE) -l$(LIB)$(R64)

clean:
	@for name in $(EXECS) ; do\
	(rm -f $$name $$name.o $$name.f); \
	done