📄 makefile
字号:
include $(MPSDK_ROOT)/Makefile.rulesLDFLAGS+=-shared#LDLIBS+=-lwin2linux -lIntelMobileLDLIBS+=-lIntelMobileCPPSUBDIR=RfidCPPSOURCE=RfidCPP.cppOBJ=${CPPSOURCE:.cpp=.o}LIB=libRfidCPP.soARCHIVES=$(patsubst %, %/.tmp.a, $(SUBDIR))SUBOBJS=$(patsubst %, %/*.o, $(SUBDIR))default: lib installlib:$(LIB)$(LIB): $(OBJ) $(ARCHIVES) $(LD) -o $@ $(OBJ) $(SUBOBJS) $(LDFLAGS) $(LDLIBS)$(OBJ): %.o: %.cpp $(CXX) $(INCDIR) $(CFLAGS) $(CXXFLAGS) -c $< -o $@.PHONY: $(ARCHIVES)$(ARCHIVES): $(SUBDIR) .PHONY: $(SUBDIR)$(SUBDIR): make -C $@ -f Makefile install: $(INSTALL) -c $(LIB) $(LIBINSTALLDIR)/$(LIB)depend: $(CC) -MM $(INCDIR) $(CPPSOURCE) > $(DEPENDS) @for i in $(SUBDIR) ; do cd $$i; make -f Makefile depend; cd .. ; doneclean: $(RM) $(LIB) $(RM) $(OBJ) $(RM) $(LIBINSTALLDIR)/$(LIB) $(RM) $(DEPENDS) $(TOUCH) $(DEPENDS) @for i in $(SUBDIR) ; do cd $$i; make -f Makefile clean; cd .. ; done.PHONY: default lib clean depend installinclude $(DEPENDS)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -