forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (25 loc) · 888 Bytes
/
Makefile
File metadata and controls
38 lines (25 loc) · 888 Bytes
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
MODE ?= debug
top_srcdir ?= ..
include $(top_srcdir)/Makefile.common
########## LiveCode Script benchmark parameters
LCS_ENGINE ?= $(guess_engine)
LCS_ENGINE_FLAGS ?= $(guess_engine_flags)
LCS_LOG = _lcs_benchmarks.log
LCS_BENCHMARKRUNNER ?= $(top_srcdir)/benchmarks/_benchmarkrunner.livecodescript
LCS_CMD = $(LCS_ENGINE) $(LCS_ENGINE_FLAGS) $(LCS_BENCHMARKRUNNER) run
################################################################
# Top-level targets
################################################################
.DEFAULT: benchmark
benchmark: lcs-benchmark
clean:
-rm -rf $(LCS_LOG)
.PHONY: benchmark clean
################################################################
# Engine benchmarks
################################################################
lcs-benchmark: $(LCS_ENGINE)
@rm -f $(LCS_LOG)
@cmd="$(LCS_CMD)"; \
echo "$$cmd" $(_PRINT_RULE); \
$$cmd