aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-10-23 19:19:59 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-10-23 19:19:59 +0800
commit22973abb6459f937368c9473c564a37bd6134560 (patch)
treefdd023ec65b61cea766441edb54214af011ef84d
parent8ec3e3025785998b38dc7d3516471951ab558550 (diff)
downloaddexon-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--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ba0d0e4..8076813 100644
--- a/Makefile
+++ b/Makefile
@@ -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)