Fixed a few things to get the MS Visual Studio compile working again.
This commit is contained in:
parent
60c041bc3b
commit
1fccbcfb7c
@ -206,7 +206,7 @@ complex16: $(ZLUSRC) $(ALLAUX) $(LAAUX) $(ZLASRC) $(DZLAUX)
|
||||
##################################
|
||||
slamch.o: slamch.c ; $(CC) -c $(NOOPTS) $(CDEFS) $<
|
||||
dlamch.o: dlamch.c ; $(CC) -c $(NOOPTS) $(CDEFS) $<
|
||||
superlu_timer.o: superlu_timer.c ; $(CC) -c $(NOOPTS) $<
|
||||
superlu_timer.o: superlu_timer.c ; $(CC) -c -DNO_TIMER $(NOOPTS) $<
|
||||
##################################
|
||||
|
||||
#.c.o:
|
||||
|
||||
@ -16,6 +16,5 @@ mv -f /tmp/Makefile.lapack lapack/Makefile
|
||||
|
||||
# Take care of the special compilation of SuperLU/superlu_timer.c
|
||||
sed -e s,' $<',' $<; mv -f $*.obj $*.o',g \
|
||||
-e s,' -c ',' -c -DWIN32 ',g \
|
||||
FEI_mv/SuperLU/SRC/Makefile > /tmp/Makefile.SuperLU
|
||||
mv -f /tmp/Makefile.SuperLU FEI_mv/SuperLU/SRC/Makefile
|
||||
|
||||
@ -43,8 +43,10 @@
|
||||
|
||||
#elif !defined(JUNK_TIMING)
|
||||
#include <time.h>
|
||||
#ifndef WIN32
|
||||
#include <unistd.h> /* needed for sysconf(_SC_CLK_TCK) */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user