You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
445 B
21 lines
445 B
TOPSRCDIR = ../..
|
|
include $(TOPSRCDIR)/make.inc
|
|
|
|
.SUFFIXES: .c .o
|
|
.c.o:
|
|
$(CC) $(CFLAGS) -I../include -c -o $@ $<
|
|
|
|
.PHONY: all
|
|
all: cblas_ex1 cblas_ex2
|
|
|
|
cblas_ex1: cblas_example1.o $(CBLASLIB) $(BLASLIB)
|
|
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
|
cblas_ex2: cblas_example2.o $(CBLASLIB) $(BLASLIB)
|
|
$(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
|
|
|
|
.PHONY: clean cleanobj cleanexe
|
|
clean: cleanobj cleanexe
|
|
cleanobj:
|
|
rm -f *.o
|
|
cleanexe:
|
|
rm -f cblas_ex1 cblas_ex2
|
|
|