You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 445 B

123456789101112131415161718192021
  1. TOPSRCDIR = ../..
  2. include $(TOPSRCDIR)/make.inc
  3. .SUFFIXES: .c .o
  4. .c.o:
  5. $(CC) $(CFLAGS) -I../include -c -o $@ $<
  6. .PHONY: all
  7. all: cblas_ex1 cblas_ex2
  8. cblas_ex1: cblas_example1.o $(CBLASLIB) $(BLASLIB)
  9. $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
  10. cblas_ex2: cblas_example2.o $(CBLASLIB) $(BLASLIB)
  11. $(FC) $(FFLAGS) $(LDFLAGS) -o $@ $^
  12. .PHONY: clean cleanobj cleanexe
  13. clean: cleanobj cleanexe
  14. cleanobj:
  15. rm -f *.o
  16. cleanexe:
  17. rm -f cblas_ex1 cblas_ex2