?? variables.mk
字號:
# common variables ...######################################################################### directoriesDESTDIR =srcdir ?= .prefix ?= /usr/localbindir = $(DESTDIR)$(prefix)/binmandir = $(DESTDIR)$(prefix)/share/manlocdir = $(DESTDIR)$(prefix)/share/locale# package + versionempty :=space := $(empty) $(empty)ifneq ($(wildcard $(srcdir)/VERSION),) VERSION := $(shell cat $(srcdir)/VERSION)else VERSION := 42endif# programsCC ?= gccCXX ?= g++MOC ?= $(if $(QTDIR),$(QTDIR)/bin/moc,moc)INSTALL ?= installINSTALL_BINARY := $(INSTALL) -sINSTALL_SCRIPT := $(INSTALL)INSTALL_DATA := $(INSTALL) -m 644INSTALL_DIR := $(INSTALL) -d# cflagsCFLAGS ?= -g -O2CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \ -Wpointer-arith -Wunused# add /usr/local to the search path if something is in there ...ifneq ($(wildcard /usr/local/include/*.h),) CFLAGS += -I/usr/local/include LDFLAGS += -L/usr/local/$(LIB)endif# fixup include path for $(srcdir) != "."ifneq ($(srcdir),.) CFLAGS += -I. -I$(srcdir)endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -