?? makefile
字號:
# CONFIGURE: If you are using a SystemV-based operating system, such as# Solaris, you will need to uncomment this definition.#SYSV_LIBS = -lnsl -lsocketENV_FILE := $(shell /bin/pwd | sed -e 's/initrd.*/initrd/')/.env.mipsinclude $(ENV_FILE)PREFIX := $(shell /bin/pwd | sed -e 's/initrd.*/initrd\/stage/')INSTALLDIR=$(PREFIX)/sbinCROSS=mipsel-linux-CC=$(CROSS)ccCPP=$(CROSS)c++LD=$(CROSS)ldAR=$(CROSS)arRANLIB=$(CROSS)ranlibSTRIP=$(CROSS)stripexport CC LD AR RANLIB STRIPCFLAGS = -OLDFLAGS = -s $(SYSV_LIBS)BINDIR =$(PREFIX)/sbin# 規約名稱OBJS = client# 源文件清單CPPS = client.cpp # 頭文件清單#HDRS = channel.hall: $(OBJS) $(OBJS): $(CPPS) ../include/global.h ../include/cculib.h ../include/list.h ../include/queue.h ../lib/libcculib.a ../lib/libsp.a $(CPP) $(LDFLAGS) $(CPPS) \ -o $(OBJS) \ -I../include -L../lib -lcculib -lpthread -lsp \ -D_DEBUGinstall: all cp $(OBJS) $(BINDIR)clean: rm -f $(OBJS) *.o core
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -