📄 makefile
字号:
# example/powerpc/makefile: makefile for Bubble Sort example program.## Target: PowerPC 860, ELF, no floating point (-tPPC860EN).# Link for execution by rtasim library (-t...:rtasim).OBJECTS = crt0.o bubble.o swap.oTARGET = -tPPC860EN:windissLFLAGS = $(TARGET) -m6LIBS = -lc -limplbubble.out : $(OBJECTS) bubble.dld makefile 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 -tMC68060FN:rtasim.# - dcc Add -g for debugging, -XO for highly optimized code.# - das Add -g for debugging.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -