diff options
Diffstat (limited to 'CBLAS/examples/Makefile')
-rw-r--r-- | CBLAS/examples/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/CBLAS/examples/Makefile b/CBLAS/examples/Makefile index ded5ed9a..664b8bc5 100644 --- a/CBLAS/examples/Makefile +++ b/CBLAS/examples/Makefile @@ -2,13 +2,16 @@ include ../../make.inc all: cblas_ex1 cblas_ex2 -cblas_ex1: cblas_example1.o - $(LOADER) $(LOADOPTS) -o $@ cblas_example1.o $(CBLASLIB) $(BLASLIB) -cblas_ex2: cblas_example2.o - $(LOADER) $(LOADOPTS) -o $@ cblas_example2.o $(CBLASLIB) $(BLASLIB) +cblas_ex1: cblas_example1.o $(CBLASLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ +cblas_ex2: cblas_example2.o $(CBLASLIB) $(BLASLIB) + $(LOADER) $(LOADOPTS) -o $@ $^ -cleanall: - rm -f *.o cblas_ex1 cblas_ex2 +clean: cleanobj cleanexe +cleanobj: + rm -f *.o +cleanexe: + rm -f cblas_ex1 cblas_ex2 .c.o: $(CC) $(CFLAGS) -I../include -c -o $@ $< |