makefile

来自「这是一个嵌入式文件系统的实现C代码」· 代码 · 共 46 行

TXT
46
字号
# Makefile for YAFFS direct test## Copyright (C) 2003 Aleph One Ltd.## Created by Charles Manning <charles@aleph1.co.uk>## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License version 2 as# published by the Free Software Foundation.## NB Warning this Makefile does not include header dependencies.## $Id: Makefile,v 1.2 2003/05/20 22:30:36 charles Exp $CFLAGS =    -Wall -DCONFIG_YAFFS_DIRECT -DCONFIG_YAFFS_SHORT_NAMES_IN_RAM -g#CFLAGS+=   -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations#CFLAGS+=   -Wmissing-prototypes -Wredundant-decls -Wnested-externs -WinlineDIRECTTESTOBJS = dtest.o yaffs_ecc.o yaffscfg.o yaffs_fileem.o yaffsfs.o yaffs_ramdisk.o yaffs_guts.oBOOTTESTOBJS = bootldtst.o yboot.o yaffs_fileem.o nand_ecc.oALLOBJS =  dtest.o nand_ecc.o yaffscfg.o yaffs_fileem.o yaffsfs.o yaffs_ramdisk.o bootldtst.o yboot.o SYMLINKS = devextras.h yaffs_ecc.c yaffs_ecc.h yaffs_guts.c yaffs_guts.h yaffsinterface.h yportenv.hall: directtest boottest$(ALLOBJS): %.o: %.c	gcc -c $(CFLAGS) $< -o $@$(SYMLINKS):	ln -s ../$@ $@directtest: $(SYMLINKS) $(DIRECTTESTOBJS)	gcc -o $@ $(DIRECTTESTOBJS)boottest: $(SYMLINKS) $(BOOTTESTOBJS)	gcc -o $@ $(BOOTTESTOBJS)clean:	rm -f $(ALLOBJS) core

⌨️ 快捷键说明

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