Fixed a few things to get the MS Visual Studio compile working again.

This commit is contained in:
falgout 2010-02-02 23:02:15 +00:00
parent 60c041bc3b
commit 1fccbcfb7c
3 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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

View File

@ -43,8 +43,10 @@
#elif !defined(JUNK_TIMING)
#include <time.h>
#ifndef WIN32
#include <unistd.h> /* needed for sysconf(_SC_CLK_TCK) */
#endif
#endif
/*