You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
496 B

SRCDIR = src
OBJDIR = obj
CFLAGS = -Wall -Wextra -g3
OPTFLAGS = -O3 -march=native
ARTIFACT_TYPE = "executable"
PLATFORM = ${shell uname | tr A-Z a-z}
CC = gcc
AR = ar
SRCS = main.c \
${addprefix parsing/tokenizer/,tokenizer.c funcs1.c states1.c} \
${addprefix env/,env.c envutils.c} \
${addprefix ps1/,ps1.c ps1_replace.c} \
${addprefix exectree/,basics.c execution.c}
TARGET = minishell
INCLUDES = include libft/include
LIB = lib/$(PLATFORM) libft
LIBS = ft readline history curses