modified: SpatialOmicsCoord.py
[GalaxyCodeBases.git] / BGI / SOAPsnp / makefile
blob930fc8d8d881fa6e571f7667d23d6bfd92e1c3e1
1 DEFINE =
3 CXX = g++ #/ifs1/cloud/APT/wangbq/Devel/intel/Compiler/11.1/069/bin/intel64/icpc
5 DEBUG = -g
7 CXXFLAGS = -fomit-frame-pointer -O3 -ffast-math -funroll-loops -mmmx -msse -msse2 -msse3 -fmessage-length=0 #-pipe -freg-struct-return -maccumulate-outgoing-args -m64 -ftree-loop-linear -fprefetch-loop-arrays -fno-optional-diags -fno-threadsafe-statics -mfpmath=sse -m128bit-long-double #-MMD -MP -MF #-g3 -Wall -maccumulate-outgoing-args -Wstrict-aliasing=2 -fstack-check
9 DFLAGS= #-static -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1
11 LIBPATH = -I/ifs2/CD/tangzhb/bin/boost/include/ -L/panfs/CD/tangzhb/lib/SOAPsnpLib # -L/ifs2/CD/tangzhb/bin/zlib-1.2.5/
13 LFLAGS = -lz -lbam -lm -lpthread #-liomp5 #-lcurses
14 # libiomp5 of Intel not used at all. Nor did -lgomp
16 objects = call_genotype.o chromosome.o matrix.o normal_dis.o prior.o rank_sum.o main.o tools.o SamCtrl.o MatrixManager.o Readwin.o FileListManager.o Call_winManager.o accessControl.o SfsMethod.o Files.o ThreadManager.o CThreadPool.o gzstream.o
18 all: DEBUG
19 .PHONY: all
22 $(objects): %.o:
24 DEBUG: CXXFLAGS += $(DFLAGS)
25 DEBUG: $(objects)
26 $(CXX) $(CXXFLAGS) $(LIBPATH) $(objects) -o soapsnp $(LFLAGS)
28 release: CXX = /ifs1/cloud/APT/wangbq/Devel/intel/Compiler/11.1/069/bin/intel64/icpc
29 release: CXXFLAGS = -O3 -parallel -axAVX,SSE4.2,SSE4.1,SSSE3,SSE3,SSE2 $(DFLAGS) #-opt-report 1 -opt-report-phase=ipo
30 release: $(objects)
31 $(CXX) $(CXXFLAGS) $(LIBPATH) $(objects) -o soapsnp $(LFLAGS)
33 .PHONY: clean
34 clean:
35 rm -f *.o soapsnp