File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ requirements-dev:
17
17
rsync -av utilities/ /usr/local/include/chaos/utilities/
18
18
rsync -av lexer/ /usr/local/include/chaos/lexer/
19
19
rsync -av parser/ /usr/local/include/chaos/parser/
20
+ rsync -av vm/ /usr/local/include/chaos/vm/
20
21
rsync -av interpreter/ /usr/local/include/chaos/interpreter/
21
22
rsync -av compiler/ /usr/local/include/chaos/compiler/
22
23
rsync -av ast/ /usr/local/include/chaos/ast/
@@ -101,7 +102,7 @@ chaos: lex.yy.c parser.tab.c parser.tab.h
101
102
ifeq ($(UNAME_S ) , Darwin)
102
103
export CHAOS_STACK_SIZE=-Wl,-stack_size,0x100000000
103
104
endif
104
- ${CHAOS_COMPILER} -Werror -Wall -pedantic -fcommon ${CHAOS_STACK_SIZE} -DCHAOS_INTERPRETER -o chaos parser.tab.c lex.yy.c parser/*.c utilities/*.c ast/*.c interpreter /*.c compiler /*.c vm /*.c Chaos.c -lreadline -L/usr/local/opt/readline/lib -I/usr/local/opt/readline/include -ldl ${CHAOS_EXTRA_FLAGS}
105
+ ${CHAOS_COMPILER} -Werror -Wall -pedantic -fcommon ${CHAOS_STACK_SIZE} -DCHAOS_INTERPRETER -o chaos parser.tab.c lex.yy.c parser/*.c utilities/*.c ast/*.c vm /*.c interpreter /*.c compiler /*.c Chaos.c -lreadline -L/usr/local/opt/readline/lib -I/usr/local/opt/readline/include -ldl ${CHAOS_EXTRA_FLAGS}
105
106
106
107
clean :
107
108
rm -rf chaos parser.tab.c lex.yy.c parser.tab.h
@@ -192,9 +193,6 @@ memcheck:
192
193
memcheck-compiler :
193
194
./tests/memcheck_compiler.sh
194
195
195
- compile-dev :
196
- gcc -DCHAOS_COMPILER -o build/main build/main.c /usr/local/include/chaos/utilities/helpers.c /usr/local/include/chaos/ast/ast.c /usr/local/include/chaos/interpreter/errors.c /usr/local/include/chaos/interpreter/extension.c /usr/local/include/chaos/interpreter/function.c /usr/local/include/chaos/interpreter/module.c /usr/local/include/chaos/interpreter/symbol.c /usr/local/include/chaos/compiler/compiler.c /usr/local/include/chaos/compiler/lib/alternative.c /usr/local/include/chaos/Chaos.c -lreadline -L/usr/local/opt/readline/lib -ldl -I/usr/local/include/chaos/ -Og -ggdb
197
-
198
196
rosetta-install :
199
197
./tests/rosetta/install.sh
200
198
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ llvm-cov show /usr/local/bin/chaos -instr-profile=chaos.profdata \
21
21
./Chaos.c \
22
22
./ast/* .c \
23
23
./compiler/* .c \
24
+ ./vm/* .c \
24
25
./interpreter/* .c \
25
26
./lexer/* .c \
26
27
./parser/* .c \
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ win_bison -d parser\parser.y
169
169
IF errorlevel 1 (
170
170
EXIT /B 1
171
171
)
172
- %compiler% -fcommon -DCHAOS_INTERPRETER -o chaos.exe parser.tab.c lex.yy.c parser/*.c utilities/*.c utilities/windows/*.c ast/*.c interpreter/*.c compiler/*.c Chaos.c -lshell32 -lole32 %extra_flags%
172
+ %compiler% -fcommon -DCHAOS_INTERPRETER -o chaos.exe parser.tab.c lex.yy.c parser/*.c utilities/*.c utilities/windows/*.c ast/*.c vm/*.c interpreter/*.c compiler/*.c Chaos.c -lshell32 -lole32 %extra_flags%
173
173
IF errorlevel 1 (
174
174
EXIT /B 1
175
175
)
You can’t perform that action at this time.
0 commit comments