📄 makefile
字号:
include ../Makefile.commonCCFLAGS += LDFLAGS += -lrouting -lcrypto -lrpc -ludtOBJS = routing.o chord.o center.oall: librouting.so librouting.a testchord%.o: %.cpp %.h $(C++) -fPIC $(CCFLAGS) $< -clibrouting.so: $(OBJS) $(C++) -shared -o $@ $^librouting.a: $(OBJS) ar -rcs $@ $^testchord: testchord.cpp $(C++) testchord.cpp -o testchord $(CCFLAGS) $(LDFLAGS)clean: rm -f *.o *.so *.a testchordinstall: mv librouting.so librouting.a ../lib
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -