摘要:
自己写的一个Makefile,目录结构为:include ,src ,bin#get the current directoryCUR_DIR=$(shell pwd)#object file ,out file directoryOUT_DIR=$(CUR_DIR)/bin#check if the out dirctory exist, if not create itCHECK_OUT_DIR:=$(shell if [ ! -d $(OUT_DIR) ] ;then mkdir $(OUT_DIR); fi)#the pragram out fileOUT_FILE=test#incl 阅读全文