diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-03-04 07:40:51 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-03-04 07:40:51 +0800 |
commit | c39c13cf3e123a689a6919006c601fa70bcca07f (patch) | |
tree | 62eb387f50a84e6a61ce6e512ecd5a42cc4cac8b /Makefile | |
parent | cd71bb8054a39a795c2cbb6a79431d7dcd901a70 (diff) | |
download | dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.tar dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.tar.gz dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.tar.bz2 dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.tar.lz dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.tar.xz dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.tar.zst dexon-bls-c39c13cf3e123a689a6919006c601fa70bcca07f.zip |
specify link libmcl.a directly
Diffstat (limited to 'Makefile')
-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) -lmcl -L../mcl/lib $(LDFLAGS) + $(PRE)$(CXX) $< -o $@ $(BLS_LIB) ../mcl/lib/libmcl.a $(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) -lmcl -L../mcl/lib $(LDFLAGS) + $(PRE)$(CXX) $< -o $@ $(BLS_LIB) $(BLS_IF_LIB) ../mcl/lib/libmcl.a $(LDFLAGS) SAMPLE_EXE=$(addprefix $(EXE_DIR)/,$(SAMPLE_SRC:.cpp=.exe)) sample: $(SAMPLE_EXE) $(BLS_LIB) |