makefile
来自「ARM 的 Diab C源码。包括启动程序crt0.s」· 代码 · 共 30 行
TXT
30 行
# example/coldfire/makefile: makefile for Bubble Sort example program.## Target: ColdFire MCF5200, ELF, no floating point (-tMCF5200FN).# Link for execution by WindISS library (-t...:windiss).OBJECTS = crt0.o bubble.o swap.oTARGET = -tMCF5200FN:windissLFLAGS = $(TARGET) -m6LIBS = -lc -limplbubble.out : $(OBJECTS) bubble.dld dld $(LFLAGS) -o bubble.out $(OBJECTS) $(LIBS) bubble.dld > bubble.map.c.o : dcc $(TARGET) -c -o $*.o $<.s.o : das $(TARGET) $<clean : rm *.o bubble.out bubble.map.SUFFIXES: .s # required by some makes# Notes:# - OBJECTS Put crt0.o first so dld will link it first.# - dld -lc: link libc.a from directory selected by -tMCF5200FN:windiss.# - dcc Add -g for debugging, -XO for highly optimized code.# - das Add -g for debugging.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?