diff options
-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) ../mcl/lib/libmcl.a $(LDFLAGS) + $(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) ../mcl/lib/libmcl.a $(LDFLAGS) + $(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) |