makefile

来自「M68K 的 Diab C源码。包括启动程序crt0.s」· 代码 · 共 37 行

TXT
37
字号
##### PLEASE NOTE: This makefile assumes target execution by "rtasim", the Diab Data#              core instruction set simulator. rtasim for the M68K will be#              available in Summer, 1999. Please consult www.ddi.com.#### example/m68k/makefile: makefile for Bubble Sort example program.## Target: MC68060, ELF, no floating point (-tMC68060FN).#         Link for execution by rtasim library (-t...:rtasim).OBJECTS = crt0.o bubble.o swap.oTARGET = -tMC68060FN: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 -tMC68060FN:rtasim.# - dcc         Add -g for debugging, -XO for highly optimized code.# - das         Add -g for debugging.

⌨️ 快捷键说明

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