fix: some mkdir stuff..

This commit is contained in:
Iceman 2019-08-21 16:49:32 +02:00
parent c69d599a3f
commit 3cf64f9f23
3 changed files with 16 additions and 11 deletions

View file

@ -9,7 +9,7 @@ LD = gcc
RM = rm -f
MV = mv
CP = cp -a
MKDIR = mkdir
MKDIR = mkdir -p
CFLAGS ?= -Wall -Werror -O3
CFLAGS += $(MYDEFS) $(MYCFLAGS) $(MYINCLUDES)

View file

@ -5,7 +5,7 @@
# at your option, any later version. See the LICENSE.txt file for the text of
# the license.
#-----------------------------------------------------------------------------
MKDIR = mkdir -p
TEST_OUTDIR = tb_tmp
TB_SOURCES = \
@ -62,7 +62,7 @@ tb_lf_edge_detect: tb_lf_edge_detect.vvp | test_dir
rm -f $(TEST_OUTDIR)/data.*
test_dir:
@if [ ! -d $(TEST_OUTDIR) ] ; then mkdir $(TEST_OUTDIR) ; fi
@if [ ! -d $(TEST_OUTDIR) ] ; then $(MKDIR) $(TEST_OUTDIR) ; fi
.PHONY: all clean

View file

@ -1,18 +1,23 @@
MKDIR = mkdir -p
WGET = wget -N
TAR = tar Jxvf
GIT = git clone
get_craptev1:
wget -N http://crapto1.netgarage.org/craptev1-v1.1.tar.xz
tar Jxvf craptev1-v1.1.tar.xz -C craptev1-v1.1
$(WGET) http://crapto1.netgarage.org/craptev1-v1.1.tar.xz
$(TAR) craptev1-v1.1.tar.xz -C craptev1-v1.1
get_crapto1:
wget -N http://crapto1.netgarage.org/crapto1-v3.3.tar.xz
tar Jxvf crapto1-v3.3.tar.xz -C crapto1-v3.3
$(WGET) http://crapto1.netgarage.org/crapto1-v3.3.tar.xz
$(TAR) Jxvf crapto1-v3.3.tar.xz -C crapto1-v3.3
get_nonce_bf:
# git clone https://github.com/J-Run/mf_key_brute.git mf_key_brute
git clone https://github.com/iceman1001/mf_nonce_brute mf_nonce_brute
# $(GIT) https://github.com/J-Run/mf_key_brute.git mf_key_brute
$(GIT) https://github.com/iceman1001/mf_nonce_brute mf_nonce_brute
get_xorsearch:
mkdir xorsearch
wget -N https://didierstevens.com/files/software/XORSearch_V1_11_2.zip
$(MKDIR) xorsearch
$(WGET) https://didierstevens.com/files/software/XORSearch_V1_11_2.zip
# Mingw
# unzzip-big XORSearch_V1_11_2.zip
# linux