「🔨」 fix: Can compile on nixos

This commit is contained in:
KeyZox committed 2024-05-13 17:33:29 +02:00
1 parent cd49ddb22c
commit ad14d6b9ce
84 files changed
+17 -6

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
dir="$(realpath $(dirname ${BASH_SOURCE[0]})/../..)"
_nix_direnv_force_reload=1 direnv exec "$dir" true
direnv reload
# direnv reload updates the mtime of .envrc. Also update the timestamp of the
# profile_rc file to keep track that we actually are up to date.
touch $dir/.direnv/{nix,flake}-profile-*.rc
@@ -0,0 +1 @@
/home/adjoly/42/ft_minipowershell/.direnv/flake-profile.46798
+1 -1
View File
@@ -12,7 +12,7 @@
NAME = minishell
CC = cc
CC = clang
OBJSDIR = obj/
+1 -1
View File
@@ -14,8 +14,8 @@
#ifndef MINISHELL_H
# define MINISHELL_H
# include <readline/readline.h>
# include <stdio.h>
# include <readline/readline.h>
# include <stdlib.h>
# include <stdint.h>
# include "libft.h"
+3 -3
View File
@@ -6,15 +6,15 @@
# By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/01/22 07:21:18 by mmoussou #+# #+# #
# Updated: 2024/04/30 10:59:10 by mmoussou ### ########.fr #
# Updated: 2024/05/13 17:33:16 by adjoly ### ########.fr #
# #
# **************************************************************************** #
SHELL = bash
CC = gcc
CC = clang
CFLAGS = -Wall -Werror -Wextra
CFLAGS = -Wall -Werror -Wextra -pipe -fPIE
INCLUDE = ./include
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -6,10 +6,11 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/24 11:18:04 by adjoly #+# #+# */
/* Updated: 2024/05/09 18:05:14 by adjoly ### ########.fr */
/* Updated: 2024/05/13 17:26:21 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
#include <stdlib.h>