summaryrefslogtreecommitdiff
path: root/LAPACKE/Makefile
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-02-05 02:54:37 -0600
committerKyle Guinn <elyk03@gmail.com>2017-02-05 02:54:37 -0600
commit9746cd7d826ce0dac6638d366c32d99b0a8700b6 (patch)
tree400b43fb391be2d796a4b28eeb42c1fb6cdb01e5 /LAPACKE/Makefile
parent7fb9b8f128e78c385be3751712ba68c390796920 (diff)
downloadlapack-9746cd7d826ce0dac6638d366c32d99b0a8700b6.tar.gz
lapack-9746cd7d826ce0dac6638d366c32d99b0a8700b6.tar.bz2
lapack-9746cd7d826ce0dac6638d366c32d99b0a8700b6.zip
Fix missing or unnecessary prerequisites
Diffstat (limited to 'LAPACKE/Makefile')
-rw-r--r--LAPACKE/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/LAPACKE/Makefile b/LAPACKE/Makefile
index f1b07ad5..6252551b 100644
--- a/LAPACKE/Makefile
+++ b/LAPACKE/Makefile
@@ -44,12 +44,14 @@ include ../make.inc
all: lapacke
-lapacke:
- cd include && cp lapacke_mangling_with_flags.h.in lapacke_mangling.h
+lapacke: include/lapacke_mangling.h
cd src && $(MAKE)
cd utils && $(MAKE)
-lapacke_example:
+include/lapacke_mangling.h: include/lapacke_mangling_with_flags.h.in
+ cp $< $@
+
+lapacke_example: lapacke
cd example && $(MAKE)
clean: cleanlib