makefile~

来自「基于s3c2410的linux下面指纹识别程序」· 代码 · 共 43 行

TXT
43
字号
## Makefile for Linux application test example.##---------------------------------------------------------------# Linux application Makefile sample# make          -- the optical output without debug info# make clean    -- clean the object file(s)# make install  -- install the execute file(s) to INSTALLDIR#---------------------------------------------------------------# History:#			Program start, Embest	Lusi 2008.8.3CROSSDIR		= /usr/crosstool/gcc-3.4.5-glibc-2.3.6/arm-linuxINSTALLDIR	= $(TFTPDIR)LINUXDIR		= $(KERNELDIR)#---------------------------------	/* execute file(s) */TESTFILE 	= Finger_test#---------------------------------	/* object file(s) */SRCFILE		= Finger_test.c COMM.c#---------------------------------	/* header file(s) */TESTFILE_H	= COMM.hCROSS=arm-linux-CC = $(CROSS)gccAS = $(CROSS)asLD = $(CROSS)ldCFLAGS  += -O2 -Wallall:   $(TESTFILE)$(TESTFILE):  $(SRCFILE) $(TESTFILE_H) Makefile 	$(CC) $(CFLAGS) -o $@ $@.cclean:	rm -f $(TESTFILE)	install: $(TESTFILE)	mkdir -p $(INSTALLDIR)	cp --target-dir=$(INSTALLDIR) $(TESTFILE)

⌨️ 快捷键说明

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