makefile

来自「针对嵌入式micro window系统」· 代码 · 共 52 行

TXT
52
字号
#*#**********************************************************#*  $Id: Makefile,v 1.6 2003/04/08 16:10:12 cvs Exp $#*  Copyright(C) 2001-2002 Triscend Corporation. All Rights Reserved.#*  This file is licensed under the terms of Triscend SDK License Agreement.#**********************************************************#*CROSS = arm-elf-CC = $(CROSS)gcc## Define the CPU type#CPU_OPTS = -mcpu=arm7tdmi ## Define the compiler options#CFLAGS    = -g -ggdb $(CPU_OPTS) \	   -Wall -D__uclinux__ -msoft-float -I../include## Define the linker options#LDFLAGS    = -Wl,-elf2flt -L../lib ## Define the application name#APP_NAME  = chenTestChinese## Define the objects needed to make the application#APP_OBJS = chenTestChinese.oall : $(APP_NAME)install: $(APP_NAME)	cp $(APP_NAME) ../binclean:	rm -f *.o *.elf *.map *.gdb $(APP_NAME)## Rule to link the application#$(APP_NAME): $(APP_OBJS)	$(CC) $(LDFLAGS) $(APP_OBJS) -o $@ -lnano-X 

⌨️ 快捷键说明

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