fix: some mkdir stuff..

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

View file

@ -9,7 +9,7 @@ LD = gcc
RM = rm -f RM = rm -f
MV = mv MV = mv
CP = cp -a CP = cp -a
MKDIR = mkdir MKDIR = mkdir -p
CFLAGS ?= -Wall -Werror -O3 CFLAGS ?= -Wall -Werror -O3
CFLAGS += $(MYDEFS) $(MYCFLAGS) $(MYINCLUDES) 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 # at your option, any later version. See the LICENSE.txt file for the text of
# the license. # the license.
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
MKDIR = mkdir -p
TEST_OUTDIR = tb_tmp TEST_OUTDIR = tb_tmp
TB_SOURCES = \ TB_SOURCES = \
@ -62,7 +62,7 @@ tb_lf_edge_detect: tb_lf_edge_detect.vvp | test_dir
rm -f $(TEST_OUTDIR)/data.* rm -f $(TEST_OUTDIR)/data.*
test_dir: test_dir:
@if [ ! -d $(TEST_OUTDIR) ] ; then mkdir $(TEST_OUTDIR) ; fi @if [ ! -d $(TEST_OUTDIR) ] ; then $(MKDIR) $(TEST_OUTDIR) ; fi
.PHONY: all clean .PHONY: all clean

View file

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