⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 ecos实时嵌入式操作系统
💻
字号:
common_sources = \	../../Utils/common/Properties.cpp       \	../../Utils/common/Subprocess.cpp       \	../../Utils/common/Collections.cpp      \	../../Utils/common/eCosStd.cpp          \	../../Utils/common/eCosThreadUtils.cpp  \	../../Utils/common/eCosTrace.cpp        \	../../Utils/common/eCosSerial.cpp	\	../../Utils/common/eCosSocket.cpp	\	../common/eCosTestUtils.cpp		\	../common/TestResource.cpp		\	../common/ResetAttributes.cpp		\	../common/eCosTest.cpp			\	../common/eCosTestPlatform.cpp			\	../common/eCosTestDownloadFilter.cpp	\	../common/eCosTestMonitorFilter.cpp	\	../common/eCosTestSerialFilter.cppcommon_objects = $(notdir $(common_sources:.cpp=.o))all_sources = $(common_sources) ../common/ser_filter.cppprograms = ser_filterCXX=g++ifneq (,$(findstring CYGWIN, $(shell uname)))LIBS := -lwsock32endififneq (, $(findstring SunOS, $(shell uname)))LIBS := -lpthread -lsocket -lxnet -lstdc++ -lposix4endififneq (, $(findstring Linux, $(shell uname)))LIBS := -lpthread -efence -lstdc++endif# Look in these directories for source/make filesVPATH = .:../common:../../Utils/common# FlagsCPPFLAGS=-I../../Utils/common -I../commonCXXFLAGS=-g -O2 -Wall -D_REENTRANT -D_DEBUG $(CPPFLAGS)%.d: %.cpp	$(SHELL) -ec '$(CC) -MM $(CPPFLAGS) $< \               | sed '\''s#\($*\)\.o[ :]*#\1.o $@ : #g'\'' > $@; \               [ -s $@ ] || rm -f $@'%.o: %.cpp	$(CXX) -c $(CXXFLAGS) -o $@ $<.PHONY: allall: $(programs)ser_filter: $(common_objects) ser_filter.o	$(CXX) -o $@  $(CXXFLAGS) $^ $(LIBPATH) $(LIBS).PHONY: cleanclean:	rm -f *.o *.d	rm -f $(programs)# include the dependency filesinclude $(notdir $(all_sources:.cpp=.d))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -