File: Makefile

package info (click to toggle)
lapack 3.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 73,036 kB
  • sloc: fortran: 587,347; ansic: 179,104; makefile: 4,651; python: 269; sh: 197
file content (17 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include ../../make.inc

all: cblas_ex1 cblas_ex2

cblas_ex1: cblas_example1.o $(CBLASLIB) $(BLASLIB)
	$(LOADER) $(LOADOPTS) -o $@ $^
cblas_ex2: cblas_example2.o $(CBLASLIB) $(BLASLIB)
	$(LOADER) $(LOADOPTS) -o $@ $^

clean: cleanobj cleanexe
cleanobj:
	rm -f *.o
cleanexe:
	rm -f cblas_ex1 cblas_ex2

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