summaryrefslogtreecommitdiff
path: root/42sh/src/Makefile.am
blob: 95d8eb48bfe508a4459b5771c0c44d028003a915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# define the subdirectories
SUBDIRS = ast \
	  builtins \
	  parser \
	  lexer \
	  utils \
	  IO \
	  exec


bin_PROGRAMS = 42sh

42sh_SOURCES = helper.h \
	       helper.c \
	       42sh.c

42sh_CPPFLAGS = -I%D%

42sh_CFLAGS = -std=c99 -Werror -Wall -Wextra -Wvla -pedantic

42sh_LDADD =  \
    parser/libparser.a \
    IO/libIO.a \
    ast/libast.a \
    exec/libeval.a \
    lexer/liblexer.a \
    utils/libutils.a \
    builtins/libbuiltins.a