?? makefile
字號:
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 + -