From b8e511478698806badfcccaea0bef892ecb9698d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 19 Apr 2024 21:59:12 +0200 Subject: [PATCH] Prefix source with `ls_` to avoid vpath collisions --- src/ls/Makefile | 8 ++++---- src/ls/{list_directories.c => ls_list_directories.c} | 0 src/ls/{main.c => ls_main.c} | 0 src/ls/{print_info.c => ls_print_info.c} | 0 src/ls/{recursive_walk.c => ls_recursive_walk.c} | 0 src/ls/{strdup.c => ls_strdup.c} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename src/ls/{list_directories.c => ls_list_directories.c} (100%) rename src/ls/{main.c => ls_main.c} (100%) rename src/ls/{print_info.c => ls_print_info.c} (100%) rename src/ls/{recursive_walk.c => ls_recursive_walk.c} (100%) rename src/ls/{strdup.c => ls_strdup.c} (100%) diff --git a/src/ls/Makefile b/src/ls/Makefile index 7eb0f83..b0065b9 100644 --- a/src/ls/Makefile +++ b/src/ls/Makefile @@ -1,8 +1,8 @@ OUT := ls -SRC := main.c -SRC += list_directories.c -SRC += print_info.c -SRC += recursive_walk.c +SRC := ls_main.c +SRC += ls_list_directories.c +SRC += ls_print_info.c +SRC += ls_recursive_walk.c include ../shared.mk diff --git a/src/ls/list_directories.c b/src/ls/ls_list_directories.c similarity index 100% rename from src/ls/list_directories.c rename to src/ls/ls_list_directories.c diff --git a/src/ls/main.c b/src/ls/ls_main.c similarity index 100% rename from src/ls/main.c rename to src/ls/ls_main.c diff --git a/src/ls/print_info.c b/src/ls/ls_print_info.c similarity index 100% rename from src/ls/print_info.c rename to src/ls/ls_print_info.c diff --git a/src/ls/recursive_walk.c b/src/ls/ls_recursive_walk.c similarity index 100% rename from src/ls/recursive_walk.c rename to src/ls/ls_recursive_walk.c diff --git a/src/ls/strdup.c b/src/ls/ls_strdup.c similarity index 100% rename from src/ls/strdup.c rename to src/ls/ls_strdup.c