⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 this is ipl loader for hitachi SH4 processor.
💻
字号:
# sh4-ipl: Initial Program Loader for SH7750#  sh4-ipl/Makefile##  Copyright (C) 2001 KOMORIYA Takeru## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.## See the file "GPL" for more details.## Contact to author:#   KOMORIYA Takeru, AAF Sendai Lab., Japan#   E-mail: komoriya@chmodx.dyndns.org#      URL: http://chmodx.dyndns.org/aaf/# # Makefile#  makefile for sh-ipl##  Copyright (C) 2001  KOMORIYA Takeru, GSIS, Tohoku Univ.#    E-Mail: komoriya@robotics.is.tohoku.ac.jp# #  Licensed under terms of GNU General Public License#  (see file 'GPL' which must be distributed with this file)CROSS_COMPILE= sh4eb-linux-CC	=$(CROSS_COMPILE)gccLD	=$(CROSS_COMPILE)ldOBJCOPY =$(CROSS_COMPILE)objcopyCFLAGS = -Wall -O -m4 -mbAFLAGS = -m4 -mbLINKSCRIPT    = apsh4.ldsLINKFLAGS	+= -T $(word 1,$(LINKSCRIPT)) -e startLINKFLAGS	+= -L /usr/lib/gcc-lib/sh4eb-linux/2.97 -staticLIBS = -lm -lc -lgcc # Do not change orderTARGET = sh4-iplOBJ = entry.o $(TARGET).o sh-sci.o sh-cache.o sh-intr.oall: $(TARGET).S.o:	$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c -o $*.o $<.c.o:	$(CC) $(CFLAGS) -c -o $*.o $<$(TARGET): $(OBJ) $(LINKSCRIPT)	$(LD) $(LINKFLAGS) $(OBJ) $(LIBS) -o $(TARGET) -Map $(TARGET).map	$(OBJCOPY) -S -R .stack -R .bss -R .comment \		--adjust-vma=0x80000000 \		-O srec $(TARGET) $(TARGET).srec$(LINKSCRIPT): $(LINKSCRIPT).S	$(CC) -E -C -P -I. $(LINKSCRIPT).S > $(LINKSCRIPT)clean:	rm -rf $(TARGET) $(LINKSCRIPT) *.map *.srec *.o *.s *~

⌨️ 快捷键说明

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