makefile

来自「eybuild-x86-arm920t-2.6.7.tar 很好的嵌入式WEB」· 代码 · 共 80 行

TXT
80
字号
# # Copyright(C) eyBuild Group, 2005, 2006. All Rights Reserved.## 01e, 2006-5-12  newzy add depend# 01d, 2006-4-11  newzy add support FastCGI# 01c, 2006-3-23  newzy add get current directory# 01b, 2006-3-22  newzy change directory# 01a, 2006-2-15  newzy create## FastCGI Support Option# HAVE_FASTCGI	= TRUE# HAVE_CPLUSPLUS = TRUE# HAVE_CSP_COMPR = TRUE# HAVE_ROM_COMPR = TRUE## FCGI_SPEC		where FastCGI target store to# ARCHIVE_SPEC  where archive target store to# FILTER_LIST	create archive, filter out following objs#TARGET_FILE	= review.cgi FCGI_SPEC	= .ARCHIVE_SPEC= .FILTER_LIST = FASTCGI_LIB	= /usr/local/lib/libfcgi.a# source listSRCBASE	= ..SRCS	= $(SRCBASE)/cgimain.c \		  $(SRCBASE)/usr/db.c \		  $(SRCBASE)/../bmp/authbmp.c \		  $(SRCBASE)/usr/login.c# insert compile tools here# REDEF_TOOLS = TRUEPREFIX	= xscale_be-#PREFIX	= arm-linux-CC      = $(PREFIX)gccCXX     = $(PREFIX)g++AR      = $(PREFIX)arLD      = $(PREFIX)ldSTRIP   = $(PREFIX)stripifeq (TRUE, $(REDEF_TOOLS))ifeq (xscale_be-, $(PREFIX))	LIBEYBUILD	= $(EYBUILD_BASE)/lib/libeybuild_xscale.a else ifeq (arm-linux-, $(PREFIX))	LIBEYBUILD	= $(EYBUILD_BASE)/lib/libeybuild_arm.a endifendifendif# insert more compile options hereCFLAGS = -O2 -Wall -DREMOVE_NOUSED_WARNING -I.. -I../usr# CFLAGS += -I$(EYBUILD_BASE)/sqlite/inc# LDFLAGS = -L$(EYBUILD_BASE)/lib -l$(PREFIX)sqlite -ldlUSRSRCS := $(SRCS)# make rules-include ../cspsrc/.csp_maplist-include ../cspsrc/.rom_maplistinclude  $(EYBUILD_BASE)/bin/make.rule#insert more target dependence hereMAKE_PRE_RULE   =# MAKE_POST_RULE  = @echo; sendfile $(TARGET_FILE) /var/www/cgi-bin/# MAKE_POST_RULE += 192.168.2.1 root rootinstall:

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?