OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new repo
[bytom/vapor.git]
/
mining
/
tensority
/
cgo_algorithm
/
lib
/
Makefile
1
TARGET = cSimdTs
2
3
UNAME_S := $(shell uname -s)
4
ifeq ($(UNAME_S),Darwin)
5
CXX = /usr/local/opt/llvm/bin/clang++
6
else
7
CXX = g++
8
endif
9
10
CXXFLAGS = -std=c++11 -pthread -mavx2 -O3 -fopenmp -fPIC
11
12
.PHONY: clean
13
14
all: $(TARGET)
15
16
$(TARGET): $(TARGET).cpp
17
$(CXX) -o $@.o -c $^ $(CXXFLAGS)
18
19
clean:
20
rm -f *.o *.so *.a