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

📄 makefile

📁 open source bios with linux platform, very good and can be reused.
💻
字号:
include			../../config/Makefile.topSUBDIRS			= MOL			= $(CONFIG_MOL:y=mol)BRIQ			= $(CONFIG_BRIQ:y=briq)XTARGETS		= $(MOL) $(BRIQ) ppc mollinkDICTIONARIES		= $(MOL) $(BRIQ)INCLUDES		= -I../../kernel -I../../kernel/include \			  -I../../include/molasm -I$(ODIR)/include#############################################################################mol-OBJS		= mol/init.o mol/main.o mol/mol.o mol/console.o mol/osi-blk.o \			  mol/osi-scsi.o mol/pseudodisk.o mol/methods.o ofmem.o \			  mol/video.o mol/prom.o mol/tree.o misc.o mol/kernel.obriq-OBJS		= briq/init.o briq/main.o briq/briq.o briq/vfd.o \			  ofmem.o briq/methods.o briq/tree.o \			  misc.o briq/kernel.oppc-OBJS		= $(KOBJS) $(MODULE_LIBS) \			  $(FS_LIBS) $(DRIVER_LIBS) $(LIBC_LIBS)all-$(CONFIG_MOL)	+= $(ODIR)/mol.imageall-$(CONFIG_BRIQ)	+= $(ODIR)/briq.imageall-$(CONFIG_MPC107)	+= $(ODIR)/mpc107.image#############################################################################mol-SRC			= ppc.fs tree.fs mol.fs $(ARCHDICT_SRC)briq-SRC		= ppc.fs briq/tree.fs briq/briq.fs $(ARCHDICT_SRC)$(ODIR)/mol/kernel.o:	$(ODIR)/include/mol-dict.h$(ODIR)/briq/kernel.o:	$(ODIR)/include/briq-dict.h$(ODIR)/include/mol-dict.h: $(ODIR)/mol.dict	test -d $(dir $@) || $(INSTALL) -d $(dir $@)	@echo "static const char forth_dictionary[] = {" > $@	@cat $< | hexdump -ve '1/0 "\t" 8/1 "0x%02x, " 1/0 "\n"' \		| sed 's/0x  ,//g' >> $@	@echo "};" >> $@$(ODIR)/include/briq-dict.h: $(ODIR)/briq.dict	test -d $(dir $@) || $(INSTALL) -d $(dir $@)	@echo "static const char forth_dictionary[] = {" > $@	@cat $< | hexdump -ve '1/0 "\t" 8/1 "0x%02x, " 1/0 "\n"' \		| sed 's/0x  ,//g' >> $@	@echo "};" >> $@#############################################################################$(ODIR)/mol.image: $(ODIR)/start.o $(ODIR)/libmol.a $(ODIR)/libppc.a	@printf "= Building %-22s : " $@	building=	$(LD) -Ttext=0x01e01000 -Bstatic $^ $(LIBGCC) -o $@	@nm $@ | sort > $(ODIR)/mol.syms	strip -g $@	@echo "ok"$(ODIR)/briq.image: $(ODIR)/start.o $(ODIR)/timebase.o $(ODIR)/libbriq.a $(ODIR)/libppc.a	@printf "= Building %-22s : " $@	building=	$(LD) -g -Ttext=0x01e01000 -Bstatic $^ $(LIBGCC) -o $@	@nm $@ | sort > $(ODIR)/briq.syms	#strip -g $@	@echo "ok"$(ODIR)/mpc107.image:	@echo "BUILDING mpc107.image (not yet implemented)"clean-local:	$(RM) $(ODIR)/*.image $(ODIR)/*.syms $(ODIR)/include/mol-dict.hinclude			Makefile.asminclude			$(rules)/Rules.makeinclude			$(rules)/Rules.forth

⌨️ 快捷键说明

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