-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile.linux
More file actions
43 lines (37 loc) · 1.03 KB
/
Makefile.linux
File metadata and controls
43 lines (37 loc) · 1.03 KB
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
################################################################
# Linux rules
################################################################
LINUX_ARCHS = x86_64 x86 armv6hf armv7
config-linux-%:
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:start:config"
@echo "CONFIGURE"
endif
./config.sh --platform linux-$*
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:end:config"
endif
compile-linux-%:
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:start:compile"
@echo "COMPILE"
endif
$(MAKE) -C build-linux-$*/livecode default
# ./tools/extract-debug-symbols.sh linux .debug $(guess_dev_engine)
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:end:compile"
endif
check-linux-%:
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:start:testcpp"
@echo "TEST C++"
endif
$(MAKE) -C build-linux-$*/livecode check
ifneq ($(TRAVIS),undefined)
@echo "travis_fold:end:testcpp"
endif
$(MAKE) check-common-linux-$*
all-linux-%:
$(MAKE) config-linux-$*
$(MAKE) compile-linux-$*
$(addsuffix -linux,all config compile check): %: %-$(guess_linux_arch)