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