File: Makefile

package info (click to toggle)
lapack 3.4.1%2Bdfsg-1%2Bdeb70u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 103,172 kB
  • sloc: fortran: 469,422; ansic: 127,041; makefile: 3,817; python: 267; sh: 94
file content (19 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include ../../make.inc

all: xexample_DGESV_rowmajor xexample_ZGESV_rowmajor

xexample_DGESV_rowmajor: example_DGESV_rowmajor.o ../../$(LAPACKLIB) ../../$(LAPACKELIB)
	$(LOADER) $(LOADOPTS)  example_DGESV_rowmajor.o \
         ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
	./$@

xexample_ZGESV_rowmajor: example_ZGESV_rowmajor.o ../../$(LAPACKLIB) ../../$(LAPACKELIB)
	$(LOADER) $(LOADOPTS)  example_ZGESV_rowmajor.o \
         ../../$(LAPACKELIB) ../../$(LAPACKLIB) $(BLASLIB) -o $@
	./$@

.c.o:
	$(CC) -c $(CFLAGS) -I ../include -o $@ $<

clean:
	rm -f *.o xexample_DGESV_rowmajor xexample_ZGESV_rowmajor