From 064cf9ca85507093b34a8821233de726d9d2745f Mon Sep 17 00:00:00 2001 From: Gregory Date: Sat, 10 Aug 2019 15:37:20 +0300 Subject: [PATCH] move nm files to separate folder --- meson.build | 16 ++++++++-------- src/{ => nm}/ar.c | 0 src/{ => nm}/fat.c | 0 src/{ => nm}/find_symbol_table_command.c | 0 src/{ => nm}/macho32.c | 0 src/{ => nm}/macho64.c | 0 src/{ => nm}/main.c | 0 src/{ => nm}/nm_file.c | 0 src/{ => nm}/print_address.c | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename src/{ => nm}/ar.c (100%) rename src/{ => nm}/fat.c (100%) rename src/{ => nm}/find_symbol_table_command.c (100%) rename src/{ => nm}/macho32.c (100%) rename src/{ => nm}/macho64.c (100%) rename src/{ => nm}/main.c (100%) rename src/{ => nm}/nm_file.c (100%) rename src/{ => nm}/print_address.c (100%) diff --git a/meson.build b/meson.build index f5752f1..bca68e8 100644 --- a/meson.build +++ b/meson.build @@ -28,14 +28,14 @@ inc = include_directories('inc') install_headers('inc/ft_nm.h') sources = [ - 'src/main.c', - 'src/nm_file.c', - 'src/macho64.c', - 'src/macho32.c', - 'src/fat.c', - 'src/ar.c', - 'src/print_address.c', - 'src/find_symbol_table_command.c', + 'src/nm/main.c', + 'src/nm/nm_file.c', + 'src/nm/macho64.c', + 'src/nm/macho32.c', + 'src/nm/fat.c', + 'src/nm/ar.c', + 'src/nm/print_address.c', + 'src/nm/find_symbol_table_command.c', ] libft = subproject('libft') diff --git a/src/ar.c b/src/nm/ar.c similarity index 100% rename from src/ar.c rename to src/nm/ar.c diff --git a/src/fat.c b/src/nm/fat.c similarity index 100% rename from src/fat.c rename to src/nm/fat.c diff --git a/src/find_symbol_table_command.c b/src/nm/find_symbol_table_command.c similarity index 100% rename from src/find_symbol_table_command.c rename to src/nm/find_symbol_table_command.c diff --git a/src/macho32.c b/src/nm/macho32.c similarity index 100% rename from src/macho32.c rename to src/nm/macho32.c diff --git a/src/macho64.c b/src/nm/macho64.c similarity index 100% rename from src/macho64.c rename to src/nm/macho64.c diff --git a/src/main.c b/src/nm/main.c similarity index 100% rename from src/main.c rename to src/nm/main.c diff --git a/src/nm_file.c b/src/nm/nm_file.c similarity index 100% rename from src/nm_file.c rename to src/nm/nm_file.c diff --git a/src/print_address.c b/src/nm/print_address.c similarity index 100% rename from src/print_address.c rename to src/nm/print_address.c