# -*- Makefile -*- 

CC = gcc
CFLAGS = -g -static
#LIBS_DIR = -L/opt/intel/Compiler/11.0/081/mkl/lib/32
#LIBS = -lmkl_lapack -lmkl_ia32 -lguide -lpthread -lm
LIBS_DIR = -L/opt/intel/Compiler/11.0/081/mkl/lib/em64t
LIBS = -lmkl_lapack -lmkl_em64t -lguide -lpthread -lm

bug_test : bug_test.o
	$(CC) $(CFLAGS) bug_test.o $(LIBS_DIR) $(LIBS) -o bug_test

bug_test.o : bug_test.c
	$(CC) $(CFLAGS) $(INCLUDE_DIR) -c bug_test.c -o bug_test.o
