File: Makefile

package info (click to toggle)
arpack%2B%2B 2.1-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,216 kB
  • ctags: 2,349
  • sloc: cpp: 19,093; ansic: 2,201; makefile: 508
file content (46 lines) | stat: -rw-r--r-- 1,073 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# ARPACK++ v1.0 8/1/1997
# c++ interface to ARPACK code.
# examples/reverse/complex directory makefile.

# including other makefiles.

include ../../../Makefile.inc

# defining objects.

EXMP_INC = $(ARPACKPP_DIR)/examples/matprod 
EXC_INC  = $(ARPACKPP_DIR)/examples/matprod/complex

# compiling and linking all examples.

all: rcompreg rcompshf rcompgre rcompgsh

# compiling and linking each complex problem.

rcompreg:       rcompreg.o
	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXC_INC) -o rcompreg rcompreg.o \
            $(ALL_LIBS)

rcompshf:       rcompshf.o
	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXC_INC) -o rcompshf rcompshf.o \
            $(ALL_LIBS)

rcompgre:       rcompgre.o
	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXC_INC) -o rcompgre rcompgre.o \
            $(ALL_LIBS)

rcompgsh:       rcompgsh.o
	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXC_INC) -o rcompgsh rcompgsh.o \
            $(ALL_LIBS)

# defining cleaning rule.

.PHONY:	clean
clean:
	rm -f *.o *~ core

# defining pattern rules.

%.o:	%.cc
	$(CPP) $(CPP_FLAGS) -I$(EXMP_INC) -I$(EXC_INC) -c $<