当前位置: 技术问答>linux和unix
makefile疑问
来源: 互联网 发布时间:2015-06-06
本文导语: 今天看到一个makefile,其中的一段 INCLUDE_DIR = ../include LIB_DIR = ../lib RELEASE_DIR = ../release #编译器INCLUDE目录 INCLUDE = -I. -I$(INCLUDE_DIR) CC_INCLUDE = -I$(CC_HOME)/include 问题: ../include什么意思? INCLUDE = -I. -I$(INCLUDE_DI...
今天看到一个makefile,其中的一段
INCLUDE_DIR = ../include
LIB_DIR = ../lib
RELEASE_DIR = ../release
#编译器INCLUDE目录
INCLUDE = -I. -I$(INCLUDE_DIR)
CC_INCLUDE = -I$(CC_HOME)/include
问题:
../include什么意思?
INCLUDE = -I. -I$(INCLUDE_DIR)中的-I.的I后.表示什么?
INCLUDE_DIR = ../include
LIB_DIR = ../lib
RELEASE_DIR = ../release
#编译器INCLUDE目录
INCLUDE = -I. -I$(INCLUDE_DIR)
CC_INCLUDE = -I$(CC_HOME)/include
问题:
../include什么意思?
INCLUDE = -I. -I$(INCLUDE_DIR)中的-I.的I后.表示什么?
|
上一级目录下的include目录
.表示当前目录
..表示上一级目录
.表示当前目录
..表示上一级目录