📄 makefile
字号:
## $Id$# Description : Intelligent Communication on Bus Project# Author : Anzy Ji , Teamgo Ltd.# History: 22 Feb 2006# This software may be used and distributed according to the terms# of the GNU General Public License, incorporated herein by reference.###OPTIONS = -DDEBUG=0 #PREFIX = ..#MAKECMDGOALS = ifeq ($(MAKECMDGOALS),x86)ARCH_SUFFIX = -x86CC = gccAR = arSTRIP = strip#CFLAGS = -ggdb -Wall -DARM9 -fPIC -fpic -DMB_DEBUGCFLAGS = -ggdb -Wall -DX86 -fPIC -fpic -DMB_DEBUGendififeq ($(MAKECMDGOALS),arm9)ARCH_SUFFIX = -arm9CC = arm-linux-gccAR = arm-linux-arSTRIP = arm-linux-stripCFLAGS = -Wall -fPIC -fpic -DMB_DEBUG #CFLAGS = -Wall -fPIC -fpic endif#TARGETS = /home/maop/nfs_root/bus/program/ftpTARGETS = ./ftpCFLAGS += -I./LFLAGS += -L./ OBJS = ftp.ohelp: @echo; \ echo "Specify the following targets to make:"; \ echo " x86 -- to compile x86 X11 version binary"; \ echo " arm9 -- to compile arm version binary"; \ echo " clean -- to remove objects and binaries"; \ echo " distclean -- to remove objects, binaries and library"; \ echox86 arm9: ${TARGETS}${TARGETS}: $(OBJS) $(CC) -g -o $@ $(OBJS) -lm ${LFLAGS} ls -l $(TARGETS) ctags -R# $(TARGETS)clean: rm -f core *.odistclean: clean rm -f ${TARGETS}.c.o: $(CC) ${CFLAGS} -c $<
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -