?? makefile
字號:
## OMNeT++/OMNEST Makefile for fly## This file was generated with the command:# opp_makemake -f --deep## Name of target to be created (-o option)TARGET = fly$(EXE_SUFFIX)# User interface (uncomment one) (-u option)USERIF_LIBS = $(ALL_ENV_LIBS) # that is, $(TKENV_LIBS) $(CMDENV_LIBS)#USERIF_LIBS = $(CMDENV_LIBS)#USERIF_LIBS = $(TKENV_LIBS)# C++ include paths (with -I)INCLUDE_PATH = -I. -Iresults# Additional object and library files to link withEXTRA_OBJS =# Additional libraries (-L, -l options)LIBS =# Output directoryPROJECT_OUTPUT_DIR = outPROJECTRELATIVE_PATH =O = $(PROJECT_OUTPUT_DIR)/$(CONFIGNAME)/$(PROJECTRELATIVE_PATH)# Object files for local .cc and .msg filesOBJS = $O/Source.o $O/Sink.o $O/Sink2.o $O/Source2.o# Message filesMSGFILES =#------------------------------------------------------------------------------# Pull in OMNeT++ configuration (Makefile.inc or configuser.vc)ifneq ("$(OMNETPP_CONFIGFILE)","")CONFIGFILE = $(OMNETPP_CONFIGFILE)elseifneq ("$(OMNETPP_ROOT)","")CONFIGFILE = $(OMNETPP_ROOT)/Makefile.incelseCONFIGFILE = $(shell opp_configfilepath)endifendififeq ("$(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)endifinclude $(CONFIGFILE)# Simulation kernel and user interface librariesOMNETPP_LIB_SUBDIR = $(OMNETPP_LIB_DIR)/$(TOOLCHAIN_NAME)OMNETPP_LIBS = -L"$(OMNETPP_LIB_SUBDIR)" -L"$(OMNETPP_LIB_DIR)" $(USERIF_LIBS) $(KERNEL_LIBS) $(SYS_LIBS)COPTS = $(CFLAGS) $(INCLUDE_PATH) -I$(OMNETPP_INCL_DIR)MSGCOPTS = $(INCLUDE_PATH)#------------------------------------------------------------------------------# User-supplied makefile fragment(s)# >>># <<<#------------------------------------------------------------------------------# Main targetall: $(TARGET)$(TARGET) : $O/$(TARGET) ln -s -f $O/$(TARGET) .$O/$(TARGET): $(OBJS) $(wildcard $(EXTRA_OBJS)) Makefile @mkdir -p $O $(CXX) $(LDFLAGS) -o $O/$(TARGET) $(OBJS) $(EXTRA_OBJS) $(WHOLE_ARCHIVE_ON) $(LIBS) $(WHOLE_ARCHIVE_OFF) $(OMNETPP_LIBS).PHONY:.SUFFIXES: .cc$O/%.o: %.cc @mkdir -p $(dir $@) $(CXX) -c $(COPTS) -o $@ $<%_m.cc %_m.h: %.msg $(MSGC) -s _m.cc $(MSGCOPTS) $?msgheaders: $(MSGFILES:.msg=_m.h)clean: -rm -rf $O -rm -f fly fly.exe libfly.so libfly.a libfly.dll libfly.dylib -rm -f ./*_m.cc ./*_m.h -rm -f results/*_m.cc results/*_m.hdepend: $(MAKEDEPEND) $(INCLUDE_PATH) -f Makefile -P\$$O/ -- $(MSG_CC_FILES) ./*.cc results/*.cc# DO NOT DELETE THIS LINE -- make depend depends on it.$O/Sink2.o: Sink2.cc \ Sink2.h$O/Sink.o: Sink.cc \ Sink.h$O/Source2.o: Source2.cc \ Source2.h$O/Source.o: Source.cc \ Source.h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -