warning elimination reported by clang
[deliverable/titan.core.git] / hello / Makefile
CommitLineData
d44e3c4f 1##############################################################################
2# Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
3# All rights reserved. This program and the accompanying materials
4# are made available under the terms of the Eclipse Public License v1.0
5# which accompanies this distribution, and is available at
6# http://www.eclipse.org/legal/epl-v10.html
d44e3c4f 7#
8# Contributors:
9# Balasko, Jeno
10# Delic, Adam
11# Forstner, Matyas
12# Kovacs, Ferenc
13# Lovassy, Arpad
14# Raduly, Csaba
15# Szabo, Janos Zoltan – initial implementation
16#
17##############################################################################
970ed795
EL
18# Makefile for installing the "Hello World!" example.
19
20TOP := $(shell cd .. && pwd)
21
22include ../Makefile.cfg
23
3abe9331 24DEMOFILES := MyExample.ttcn PCOType.hh PCOType.cc hello_world.ttcn MyExample.cfg
970ed795
EL
25
26MAKEFILEGENFLAGS := -g
27ifeq ($(COVERAGE), yes)
28MAKEFILEGENFLAGS += -C
29endif
30
31install:
32ifdef MINGW
33 @echo Skipped ${CURDIR} for MinGW
34else
35 mkdir -p $(DEMODIR)
36 cp $(DEMOFILES) $(DEMODIR)
37 cd $(DEMODIR) && $(BINDIR)/ttcn3_makefilegen $(MAKEFILEGENFLAGS) \
38 -o Makefile.tmp $(DEMOFILES) && \
39 sed -e 's/# TTCN3_DIR =/TTCN3_DIR =/' <Makefile.tmp >Makefile && \
8f71d07e 40 $(RM) Makefile.tmp && \
41 $(MAKE) CXX='$(CXX)' CXXFLAGS='$(CXXFLAGS)' LDFLAGS='$(LDFLAGS)' && \
970ed795
EL
42 (sleep 5 && echo 'Hello, TTCN-3!') | ttcn3_start MyExample MyExample.cfg
43endif
This page took 0.024931 seconds and 5 git commands to generate.