diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-23 19:19:59 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-23 19:19:59 +0800 |
commit | 22973abb6459f937368c9473c564a37bd6134560 (patch) | |
tree | fdd023ec65b61cea766441edb54214af011ef84d | |
parent | 8ec3e3025785998b38dc7d3516471951ab558550 (diff) | |
download | dexon-bls-22973abb6459f937368c9473c564a37bd6134560.tar dexon-bls-22973abb6459f937368c9473c564a37bd6134560.tar.gz dexon-bls-22973abb6459f937368c9473c564a37bd6134560.tar.bz2 dexon-bls-22973abb6459f937368c9473c564a37bd6134560.tar.lz dexon-bls-22973abb6459f937368c9473c564a37bd6134560.tar.xz dexon-bls-22973abb6459f937368c9473c564a37bd6134560.tar.zst dexon-bls-22973abb6459f937368c9473c564a37bd6134560.zip |
fix order of rule in Makefile
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,15 +67,15 @@ VPATH=test sample src $(OBJ_DIR)/%.o: %.cpp $(PRE)$(CXX) $(CFLAGS) -c $< -o $@ -MMD -MP -MF $(@:.o=.d) +$(EXE_DIR)/%384_256_test.exe: $(OBJ_DIR)/%384_256_test.o $(BLS384_256_LIB) $(MCL_LIB) + $(PRE)$(CXX) $< -o $@ $(BLS384_256_LIB) -lmcl -L../mcl/lib $(LDFLAGS) + $(EXE_DIR)/%384_test.exe: $(OBJ_DIR)/%384_test.o $(BLS384_LIB) $(MCL_LIB) $(PRE)$(CXX) $< -o $@ $(BLS384_LIB) -lmcl -L../mcl/lib $(LDFLAGS) $(EXE_DIR)/%256_test.exe: $(OBJ_DIR)/%256_test.o $(BLS256_LIB) $(MCL_LIB) $(PRE)$(CXX) $< -o $@ $(BLS256_LIB) -lmcl -L../mcl/lib $(LDFLAGS) -$(EXE_DIR)/%384_256_test.exe: $(OBJ_DIR)/%384_256_test.o $(BLS384_256_LIB) $(MCL_LIB) - $(PRE)$(CXX) $< -o $@ $(BLS384_256_LIB) -lmcl -L../mcl/lib $(LDFLAGS) - # sample exe links libbls256.a $(EXE_DIR)/%.exe: $(OBJ_DIR)/%.o $(BLS256_LIB) $(MCL_LIB) $(PRE)$(CXX) $< -o $@ $(BLS256_LIB) -lmcl -L../mcl/lib $(LDFLAGS) |