diff --git a/hello/Makefile b/hello/Makefile index 7a3c300045611d96eab960bcd1641016803724f4..8ac8c4a4fd0ec858c157e9edcb5223c9518fa16e 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -37,6 +37,7 @@ else cd $(DEMODIR) && $(BINDIR)/ttcn3_makefilegen $(MAKEFILEGENFLAGS) \ -o Makefile.tmp $(DEMOFILES) && \ sed -e 's/# TTCN3_DIR =/TTCN3_DIR =/' <Makefile.tmp >Makefile && \ - $(RM) Makefile.tmp && $(MAKE) CXX='$(CXX)' && \ + $(RM) Makefile.tmp && \ + $(MAKE) CXX='$(CXX)' CXXFLAGS='$(CXXFLAGS)' LDFLAGS='$(LDFLAGS)' && \ (sleep 5 && echo 'Hello, TTCN-3!') | ttcn3_start MyExample MyExample.cfg endif