| 1 |
############################################################################## |
| 2 |
# Copyright (c) 2000-2021 Ericsson Telecom AB |
| 3 |
# All rights reserved. This program and the accompanying materials |
| 4 |
# are made available under the terms of the Eclipse Public License v2.0 |
| 5 |
# which accompanies this distribution, and is available at |
| 6 |
# https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html |
| 7 |
# |
| 8 |
# Contributors: |
| 9 |
# Szabo, Bence Janos |
| 10 |
# |
| 11 |
############################################################################## |
| 12 |
TOPDIR := ../.. |
| 13 |
include $(TOPDIR)/Makefile.regression |
| 14 |
|
| 15 |
ifdef LCOV |
| 16 |
COVERAGE_FLAG := -C |
| 17 |
endif |
| 18 |
|
| 19 |
MFGEN := $(TTCN3_DIR)/bin/ttcn3_makefilegen |
| 20 |
MFGEN_FLAGS := -sf $(RT2_FLAG) $(SPLIT_FLAG) |
| 21 |
|
| 22 |
FOLDER := folder-with-hyphen |
| 23 |
FILES := $(FOLDER)/ASN1Module1.asn |
| 24 |
|
| 25 |
|
| 26 |
# ${MAKEPROG} has the same content as the built-in ${MAKE}, |
| 27 |
# except the special handling of ${MAKE} does not apply. |
| 28 |
# If we used ${MAKE} in the rules below, 'make -n' would succeed once, |
| 29 |
# then fail on every subsequent invocation until a 'make clean' is done. |
| 30 |
MAKEPROG := ${MAKE} |
| 31 |
|
| 32 |
all: |
| 33 |
$(MFGEN) $(MFGEN_FLAGS) -o GenMakefile $(FILES) && rm GenMakefile |
| 34 |
|
| 35 |
|
| 36 |
.PHONY: all clean distclean run |
| 37 |
|