aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-03-27 20:23:16 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-03-27 20:23:16 +0800
commitf0d9e9514812d26be5b0f3be0e1bfd66679e8e5f (patch)
tree5502d8d12bbbef720fc1c19a0f75733f7312d7e1 /Makefile
parent1458c57def7f5e9198b5fb5d4386625e7d46d078 (diff)
downloaddexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.tar
dexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.tar.gz
dexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.tar.bz2
dexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.tar.lz
dexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.tar.xz
dexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.tar.zst
dexon-bls-f0d9e9514812d26be5b0f3be0e1bfd66679e8e5f.zip
remove mkdir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 850a450..18089b2 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,6 @@ BLS_LIB=$(LIB_DIR)/libbls.a
LIB_OBJ=$(OBJ_DIR)/bls.o
$(BLS_LIB): $(LIB_OBJ)
- -$(MKDIR) $(@D)
$(AR) $@ $(LIB_OBJ)
MCL_LIB=../mcl/lib/libmcl.a
@@ -51,15 +50,12 @@ VPATH=test sample src
.SUFFIXES: .cpp .d .exe
$(OBJ_DIR)/%.o: %.cpp
- -$(MKDIR) $(@D)
$(PRE)$(CXX) $(CFLAGS) -c $< -o $@ -MMD -MP -MF $(@:.o=.d)
$(EXE_DIR)/%.exe: $(OBJ_DIR)/%.o $(BLS_LIB) $(MCL_LIB)
- -$(MKDIR) $(@D)
$(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) -lmcl -L../mcl/lib $(LDFLAGS)
SAMPLE_EXE=$(addprefix $(EXE_DIR)/,$(SAMPLE_SRC:.cpp=.exe))