?? makefile
字號:
# A Simple Makefile# 2007-07-30 by Qingmin Liu## Tools## You'd better adopt absolute path.CROSS_COMPILE := /usr/local/arm/2.95.3/bin/arm-linux-CC := $(CROSS_COMPILE)gccAS := $(CROSS_COMPILE)asLD := $(CROSS_COMPILE)ldOBJCOPY :=$(CROSS_COMPILE)objcopy## Options#CFLAGS :=AFLAGS :=# In order to understand this option(LDFLAGS), you need to study# "Linkers and Loaders" first.LDFLAGS := -Ttext 0x00000000## Real handle starts#all: ledled: led.o $(LD) $(LDFLAGS) -o tmp.o $< $(OBJCOPY) -O binary -S tmp.o $@%.o: %.s $(AS) $(AFLAGS) -o $@ $<clean: $(RM) led *.o
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -