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 (41 lines) | stat: -rw-r--r-- 982 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
# ARPACK++ v1.0 8/1/1997
# c++ interface to ARPACK code.
# examples/umfpack/complex directory makefile.

# including other makefiles.

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

# defining cscmat directory.

CSCMAT_DIR = $(ARPACKPP_DIR)/examples/matrices/complex

# compiling and linking all examples.

all: ucompreg ucompshf ucompgre ucompgsh

# compiling and linking each complex problem.

ucompreg:	ucompreg.o
	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -o ucompreg ucompreg.o $(UMFPACK_LIB) $(ALL_LIBS)

ucompshf:	ucompshf.o
	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -o ucompshf ucompshf.o $(UMFPACK_LIB) $(ALL_LIBS)

ucompgre:	ucompgre.o
	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -o ucompgre ucompgre.o $(UMFPACK_LIB) $(ALL_LIBS)

ucompgsh:	ucompgsh.o
	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -o ucompgsh ucompgsh.o $(UMFPACK_LIB) $(ALL_LIBS)

# defining cleaning rule.

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

# defining pattern rules.

%.o:	%.cc
	$(CPP) $(CPP_FLAGS) -I$(CSCMAT_DIR) -I$(UMFPACK_DIR) -c $<