From f7cdbf48824baeae65de0bf4857295571083df21 Mon Sep 17 00:00:00 2001 From: SEK1RO Date: Sat, 26 Oct 2024 20:40:48 +0300 Subject: [PATCH] fix(basen): non case sensitive for windows ntfs --- .gitignore | 1 + Makefile | 7 ++++--- src/{ => tools}/basen.cpp | 0 3 files changed, 5 insertions(+), 3 deletions(-) rename src/{ => tools}/basen.cpp (100%) diff --git a/.gitignore b/.gitignore index c36cc14..3eba02e 100644 --- a/.gitignore +++ b/.gitignore @@ -44,6 +44,7 @@ obj lib doc cov +usr # IDE .vscode diff --git a/Makefile b/Makefile index d19be2a..866994d 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ USRINC = ${USRDIR}/include DIRS =\ ${BINDIR}\ ${BINDIR}/hash\ + ${BINDIR}/tools\ ${OBJDIR}\ ${OBJDIR}/hash\ ${LIBDIR}\ @@ -120,12 +121,12 @@ ${USRLIB}/lib${LIB}${-g}%: ${LIBDIR}/lib${LIB}${-g}% endif ifneq (${TOOLS},) -tools: library ${DIRS} ${patsubst %, ${BINDIR}/%${-g}, ${TOOLS}} +tools: library ${DIRS} ${patsubst %, ${BINDIR}/tools/%${-g}, ${TOOLS}} -${BINDIR}/%${-g}: ${SRCDIR}/%.cpp ${patsubst %, ${OBJDIR}/%${-g}.o, ${OBJS}} +${BINDIR}/tools/%${-g}: ${SRCDIR}/tools/%.cpp ${patsubst %, ${OBJDIR}/%${-g}.o, ${OBJS}} ${CC} -o $@ $< -I${INCDIR} -L${LIBDIR} ${-l} ${-lLIB} ${CFLAGS} -${USRBIN}/%${-g}: ${BINDIR}/%${-g} +${USRBIN}/%${-g}: ${BINDIR}/tools/%${-g} install -Dm755 $< $@ endif diff --git a/src/basen.cpp b/src/tools/basen.cpp similarity index 100% rename from src/basen.cpp rename to src/tools/basen.cpp