-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4b248ac
Showing
207 changed files
with
19,779 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.metadata/ | ||
results/ | ||
tdma/out/ | ||
.cmdenv-log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "inet"] | ||
path = inet | ||
url = https://github.com/inet-framework/inet.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# omnet-tdma | ||
|
||
Docs available at https://tdma.omnetlense.com/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> | ||
<storageModule moduleId="org.eclipse.cdt.core.settings"> | ||
<cconfiguration id="org.omnetpp.cdt.gnu.config.debug.861526136"> | ||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.omnetpp.cdt.gnu.config.debug.861526136" moduleId="org.eclipse.cdt.core.settings" name="debug"> | ||
<externalSettings/> | ||
<extensions> | ||
<extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
</extensions> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="org.omnetpp.cdt.gnu.config.debug.861526136" name="debug" parent="org.omnetpp.cdt.gnu.config.debug"> | ||
<folderInfo id="org.omnetpp.cdt.gnu.config.debug.861526136." name="/" resourcePath=""> | ||
<toolChain id="org.omnetpp.cdt.gnu.toolchain.debug.2025383998" name="C++ Toolchain for OMNeT++" superClass="org.omnetpp.cdt.gnu.toolchain.debug"> | ||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.MachO64;org.eclipse.cdt.core.PE" id="org.omnetpp.cdt.targetPlatform.1200462640" isAbstract="false" name="Windows, Linux, Mac" osList="win32,linux,macosx" superClass="org.omnetpp.cdt.targetPlatform"/> | ||
<builder id="org.omnetpp.cdt.gnu.builder.debug.81452257" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="OMNeT++ Make Builder (opp_makemake)" superClass="org.omnetpp.cdt.gnu.builder.debug"/> | ||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.1338560342" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1192796616" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1427082013" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1616741057" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1284893971" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.1364235898" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.698971663" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.825719629" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> | ||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | ||
<additionalInput kind="additionalinput" paths="$(LIBS)"/> | ||
</inputType> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.assembler.base.392093377" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.2040060744" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | ||
</tool> | ||
</toolChain> | ||
</folderInfo> | ||
<sourceEntries> | ||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="simulations"/> | ||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src"/> | ||
</sourceEntries> | ||
</configuration> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | ||
</cconfiguration> | ||
<cconfiguration id="org.omnetpp.cdt.gnu.config.release.1250377509"> | ||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.omnetpp.cdt.gnu.config.release.1250377509" moduleId="org.eclipse.cdt.core.settings" name="release"> | ||
<externalSettings/> | ||
<extensions> | ||
<extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> | ||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> | ||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> | ||
</extensions> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="org.omnetpp.cdt.gnu.config.release.1250377509" name="release" parent="org.omnetpp.cdt.gnu.config.release"> | ||
<folderInfo id="org.omnetpp.cdt.gnu.config.release.1250377509." name="/" resourcePath=""> | ||
<toolChain id="org.omnetpp.cdt.gnu.toolchain.release.1947920425" name="C++ Toolchain for OMNeT++" superClass="org.omnetpp.cdt.gnu.toolchain.release"> | ||
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.MachO64;org.eclipse.cdt.core.PE" id="org.omnetpp.cdt.targetPlatform.1455027728" isAbstract="false" name="Windows, Linux, Mac" osList="win32,linux,macosx" superClass="org.omnetpp.cdt.targetPlatform"/> | ||
<builder id="org.omnetpp.cdt.gnu.builder.release.1422873027" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="OMNeT++ Make Builder (opp_makemake)" superClass="org.omnetpp.cdt.gnu.builder.release"/> | ||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.2002549732" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1045060867" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.492322479" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1557506035" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1744214806" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.1717852435" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/> | ||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.1692461520" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.111227842" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> | ||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> | ||
<additionalInput kind="additionalinput" paths="$(LIBS)"/> | ||
</inputType> | ||
</tool> | ||
<tool id="cdt.managedbuild.tool.gnu.assembler.base.295472258" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base"> | ||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1325641344" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> | ||
</tool> | ||
</toolChain> | ||
</folderInfo> | ||
<sourceEntries> | ||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="simulations"/> | ||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="src"/> | ||
</sourceEntries> | ||
</configuration> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> | ||
</cconfiguration> | ||
</storageModule> | ||
<storageModule moduleId="cdtBuildSystem" version="4.0.0"> | ||
<project id="tdma.org.omnetpp.cdt.omnetppProjectType.2124350001" name="OMNeT++ Simulation" projectType="org.omnetpp.cdt.omnetppProjectType"/> | ||
</storageModule> | ||
<storageModule moduleId="scannerConfiguration"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> | ||
<scannerConfigBuildInfo instanceId="org.omnetpp.cdt.gnu.config.debug.861526136"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.omnetpp.cdt.OmnetppGCCPerProjectProfile"/> | ||
</scannerConfigBuildInfo> | ||
<scannerConfigBuildInfo instanceId="org.omnetpp.cdt.gnu.config.release.1250377509"> | ||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.omnetpp.cdt.OmnetppGCCPerProjectProfile"/> | ||
</scannerConfigBuildInfo> | ||
</storageModule> | ||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> | ||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/> | ||
<storageModule moduleId="refreshScope"/> | ||
</cproject> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
simulations | ||
src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<buildspec version="4.0"> | ||
<dir makemake-options="--deep --meta:recurse --meta:export-include-path --meta:use-exported-include-paths --meta:export-library --meta:use-exported-libs" path="src" type="makemake"/> | ||
<dir makemake-options="--deep -O out -I. --meta:recurse --meta:export-include-path --meta:use-exported-include-paths --meta:export-library --meta:use-exported-libs --meta:feature-cflags --meta:feature-ldflags" path="." type="makemake"/> | ||
</buildspec> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>tdma</name> | ||
<comment></comment> | ||
<projects> | ||
<project>inet</project> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.omnetpp.cdt.MakefileBuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.omnetpp.scave.builder.vectorfileindexer</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> | ||
<triggers>clean,full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name> | ||
<triggers>full,incremental,</triggers> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.cdt.core.cnature</nature> | ||
<nature>org.eclipse.cdt.core.ccnature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature> | ||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature> | ||
<nature>org.omnetpp.main.omnetppnature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<project> | ||
<configuration id="org.omnetpp.cdt.gnu.config.debug.861526136" name="debug"> | ||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-516456355336778437" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
</provider> | ||
</extension> | ||
</configuration> | ||
<configuration id="org.omnetpp.cdt.gnu.config.release.1250377509" name="release"> | ||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider"> | ||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/> | ||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> | ||
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-516456355336778437" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true"> | ||
<language-scope id="org.eclipse.cdt.core.gcc"/> | ||
<language-scope id="org.eclipse.cdt.core.g++"/> | ||
</provider> | ||
</extension> | ||
</configuration> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"files.associations": { | ||
"system_error": "cpp" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
# | ||
# OMNeT++/OMNEST Makefile for tdma | ||
# | ||
# This file was generated with the command: | ||
# opp_makemake -f --deep -O out -KINET_PROJ=../inet -DINET_IMPORT -I. -I$$\(INET_PROJ\)/src -L$$\(INET_PROJ\)/src -lINET$$\(D\) -d src -X. | ||
# | ||
|
||
# Name of target to be created (-o option) | ||
TARGET = tdma$(D)$(EXE_SUFFIX) | ||
TARGET_DIR = . | ||
|
||
# User interface (uncomment one) (-u option) | ||
USERIF_LIBS = $(ALL_ENV_LIBS) # that is, $(TKENV_LIBS) $(QTENV_LIBS) $(CMDENV_LIBS) | ||
#USERIF_LIBS = $(CMDENV_LIBS) | ||
#USERIF_LIBS = $(TKENV_LIBS) | ||
#USERIF_LIBS = $(QTENV_LIBS) | ||
|
||
# Additional object and library files to link with | ||
EXTRA_OBJS = | ||
|
||
# Additional libraries (-L, -l options) | ||
LIBS = $(LDFLAG_LIBPATH)$(INET_PROJ)/src -lINET$(D) | ||
|
||
# Output directory | ||
PROJECT_OUTPUT_DIR = out | ||
PROJECTRELATIVE_PATH = | ||
O = $(PROJECT_OUTPUT_DIR)/$(CONFIGNAME)/$(PROJECTRELATIVE_PATH) | ||
|
||
# Other makefile variables (-K) | ||
INET_PROJ=../inet | ||
|
||
#------------------------------------------------------------------------------ | ||
|
||
# Pull in OMNeT++ configuration (Makefile.inc) | ||
|
||
ifneq ("$(OMNETPP_CONFIGFILE)","") | ||
CONFIGFILE = $(OMNETPP_CONFIGFILE) | ||
else | ||
ifneq ("$(OMNETPP_ROOT)","") | ||
CONFIGFILE = $(OMNETPP_ROOT)/Makefile.inc | ||
else | ||
CONFIGFILE = $(shell opp_configfilepath) | ||
endif | ||
endif | ||
|
||
ifeq ("$(wildcard $(CONFIGFILE))","") | ||
$(error Config file '$(CONFIGFILE)' does not exist -- add the OMNeT++ bin directory to the path so that opp_configfilepath can be found, or set the OMNETPP_CONFIGFILE variable to point to Makefile.inc) | ||
endif | ||
|
||
include $(CONFIGFILE) | ||
|
||
# Simulation kernel and user interface libraries | ||
OMNETPP_LIBS = $(OPPMAIN_LIB) $(USERIF_LIBS) $(KERNEL_LIBS) $(SYS_LIBS) | ||
ifneq ($(TOOLCHAIN_NAME),clangc2) | ||
LIBS += -Wl,-rpath,$(abspath $(INET_PROJ)/src) | ||
endif | ||
|
||
# we want to recompile everything if COPTS changes, | ||
# so we store COPTS into $COPTS_FILE and have object | ||
# files depend on it (except when "make depend" was called) | ||
COPTS_FILE = $O/.last-copts | ||
ifneq ("$(COPTS)","$(shell cat $(COPTS_FILE) 2>/dev/null || echo '')") | ||
$(shell $(MKPATH) "$O" && echo "$(COPTS)" >$(COPTS_FILE)) | ||
endif | ||
|
||
#------------------------------------------------------------------------------ | ||
# User-supplied makefile fragment(s) | ||
# >>> | ||
# inserted from file 'makefrag': | ||
MSGC:=$(MSGC) --msg6 | ||
|
||
# <<< | ||
#------------------------------------------------------------------------------ | ||
|
||
# Main target | ||
all: $(TARGET_DIR)/$(TARGET) | ||
|
||
$(TARGET_DIR)/% :: $O/% | ||
@mkdir -p $(TARGET_DIR) | ||
$(Q)$(LN) $< $@ | ||
ifeq ($(TOOLCHAIN_NAME),clangc2) | ||
$(Q)-$(LN) $(<:%.dll=%.lib) $(@:%.dll=%.lib) | ||
endif | ||
|
||
$O/$(TARGET): submakedirs $(wildcard $(EXTRA_OBJS)) Makefile $(CONFIGFILE) | ||
@$(MKPATH) $O | ||
@echo Creating executable: $@ | ||
$(Q)$(CXX) $(LDFLAGS) -o $O/$(TARGET) $(EXTRA_OBJS) $(AS_NEEDED_OFF) $(WHOLE_ARCHIVE_ON) $(LIBS) $(WHOLE_ARCHIVE_OFF) $(OMNETPP_LIBS) | ||
|
||
submakedirs: src_dir | ||
|
||
.PHONY: all clean cleanall depend msgheaders smheaders src | ||
src: src_dir | ||
|
||
src_dir: | ||
cd src && $(MAKE) all | ||
|
||
msgheaders: | ||
$(Q)cd src && $(MAKE) msgheaders | ||
|
||
smheaders: | ||
$(Q)cd src && $(MAKE) smheaders | ||
|
||
clean: | ||
$(qecho) Cleaning $(TARGET) | ||
$(Q)-rm -rf $O | ||
$(Q)-rm -f $(TARGET_DIR)/$(TARGET) | ||
$(Q)-rm -f $(TARGET_DIR)/$(TARGET:%.dll=%.lib) | ||
$(Q)-rm -f $(call opp_rwildcard, . , *_m.cc *_m.h *_sm.cc *_sm.h) | ||
-$(Q)cd src && $(MAKE) clean | ||
|
||
cleanall: | ||
$(Q)$(MAKE) -s clean MODE=release | ||
$(Q)$(MAKE) -s clean MODE=debug | ||
$(Q)-rm -rf $(PROJECT_OUTPUT_DIR) | ||
|
||
# include all dependencies | ||
-include $(OBJS:%=%.d) $(MSGFILES:%.msg=$O/%_m.h.d) |
Oops, something went wrong.