Emscripten workarounds and llvm syntax fixes
[platform/core/uifw/dali-core.git] / automated-tests / dali-internal-test-suite / master-makefile.mk
1 #
2 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Flora License, Version 1.0 (the License);
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://floralicense.org/license/
9
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an AS IS BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17
18 CC = g++
19
20 TARGETS =
21 include file.list
22
23 PKGS = dali-core
24 include ../../rules.mk
25 include ../../coverage.mk
26
27 all: $(TARGETS)
28
29 %: %.cpp
30         $(CC) -o $@ $< ../../dali-test-suite-utils/test-application.cpp $(CXXFLAGS) $(LDFLAGS)
31
32 clean:
33         @rm -f $(notdir $(TARGETS))
34         @rm -f tet_captured
35         @rm -f *~
36         @rm -f *.gcda *.gcno
37
38 coverage:
39         @lcov --directory . -c -o dali.info
40         @lcov --remove dali.info "*boost*" "/usr/include/*" "*/automated-tests/*" -o dali.info