diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-02-13 11:34:42 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-02-13 11:34:42 +0800 |
commit | 56d7a699b44561dff230eca3064ee40c7626dfdf (patch) | |
tree | bb4993916505cb5d61e25bf37cd8960d6f0f3270 | |
parent | b03af9e984babe8097a894e154f9dc897c537618 (diff) | |
download | dexon-bls-56d7a699b44561dff230eca3064ee40c7626dfdf.tar.gz dexon-bls-56d7a699b44561dff230eca3064ee40c7626dfdf.tar.zst dexon-bls-56d7a699b44561dff230eca3064ee40c7626dfdf.zip |
fix the order of linking libraries
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,11 +45,11 @@ $(OBJ_DIR)/%.o: %.cpp $(EXE_DIR)/%.exe: $(OBJ_DIR)/%.o $(BLS_LIB) $(MCL_LIB) -$(MKDIR) $(@D) - $(PRE)$(CXX) $< -o $@ $(BLS_LIB) $(LDFLAGS) -lmcl -L../mcl/lib + $(PRE)$(CXX) $< -o $@ $(BLS_LIB) -lmcl -L../mcl/lib $(LDFLAGS) $(EXE_DIR)/bls_if_test.exe: $(OBJ_DIR)/bls_if_test.o $(BLS_LIB) $(MCL_LIB) $(BLS_IF_LIB) -$(MKDIR) $(@D) - $(PRE)$(CXX) $< -o $@ $(BLS_LIB) $(BLS_IF_LIB) $(LDFLAGS) -lmcl -L../mcl/lib + $(PRE)$(CXX) $< -o $@ $(BLS_LIB) $(BLS_IF_LIB) -lmcl -L../mcl/lib $(LDFLAGS) SAMPLE_EXE=$(addprefix $(EXE_DIR)/,$(SAMPLE_SRC:.cpp=.exe)) sample: $(SAMPLE_EXE) $(BLS_LIB) |