-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.stage
75 lines (67 loc) · 4.15 KB
/
Makefile.stage
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
ALL_OBJECTS+=$(BUILDDIR)/bin/input-test
ALL_OBJECTS+=$(BUILDDIR)/bin/veery
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/ansi/color.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/abort.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/argument_parser.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/assert.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/character.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/character_string.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/chars.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/ast.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/ast/attribute_specifier.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/ast/enum_definition.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/ast/this_module_expression.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/ast_generator.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/composed_visitor.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/identity_visitor.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/recursive_visitor.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/source_file.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/token_type.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/token.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/transform/character_transform.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/transform/constant_folding_transform/constant_folding_transform.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/transform_visitor.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/validator/call_receiver_validator.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/abstract_lang/visitor.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/analyzer.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/compilation_context.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/compiler.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/reporter.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/shell.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/compiler/warning.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/event/input.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/event/key.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/event/loop.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/input_output/byte_to_utf8_reader.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/input_output/circular_buffer_reader.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/input_output/system_console.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/input_output/wren_stdin_reader_adapter.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/magnitude.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/repl/action.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/repl/actions.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/repl/repl.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/veery.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery/veery_version.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery_lang/lexer.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/veery_lang/parser.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/lexer.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/parser.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/resolver.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/scope.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/source_printer.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/transform/enum_transform.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/transform/strict_equality_transform.wren
ALL_OBJECTS+=$(BUILDDIR)/wren_modules/wren_lang/transform/this_module_transform.wren
.PHONY: all
all: $(ALL_OBJECTS)
.PHONY: bootstrap
bootstrap: $(ALL_OBJECTS)
$(BUILDDIR)/bin/%: src/bin/%.veery
mkdir -p $(dir $@)
$(VEERY) compile $(VEERY_ARGS) $< $@
$(BUILDDIR)/wren_modules/%.wren: src/lib/%.veery
mkdir -p $(dir $@)
$(VEERY) compile $(VEERY_ARGS) $< $@
.PHONY: clean
clean:
rm -rf $(ALL_OBJECTS)