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

📄 makefile

📁 开源代码
💻
字号:
# Makefile for MemTest86+## Author:		Chris Brady# Created:		January 1, 1996## Path for the floppy disk device#FDISK=/dev/fd0AS=as -32CC=gccCFLAGS= -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding -fPICOBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \      config.o linuxbios.o memsize.o pci.o controller.o random.o extra.o \      spd.o error.o dmi.oall: memtest.bin memtest# Link it statically once so I know I don't have undefined# symbols and then link it dynamically so I have full# relocation informationmemtest_shared: $(OBJS) memtest_shared.lds Makefile	$(LD) --warn-constructors --warn-common -static -T memtest_shared.lds \	-o $@ $(OBJS) && \	$(LD) -shared -Bsymbolic -T memtest_shared.lds -o $@ $(OBJS)memtest_shared.bin: memtest_shared	objcopy -O binary $< memtest_shared.binmemtest: memtest_shared.bin memtest.lds	$(LD) -s -T memtest.lds -b binary memtest_shared.bin -o $@head.s: head.S config.h defs.h test.h	$(CC) -E -traditional $< -o $@bootsect.s: bootsect.S config.h defs.h	$(CC) -E -traditional $< -o $@setup.s: setup.S config.h defs.h	$(CC) -E -traditional $< -o $@memtest.bin: memtest_shared.bin bootsect.o setup.o memtest.bin.lds	$(LD) -T memtest.bin.lds bootsect.o setup.o -b binary \	memtest_shared.bin -o memtest.binreloc.o: reloc.c	$(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.ctest.o: test.c	$(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin -ffreestanding test.cclean:	rm -f *.o *.s *.iso memtest.bin memtest memtest_shared memtest_shared.biniso:	make all	./makeiso.sh	rm -f *.o *.s memtest.bin memtest memtest_shared memtest_shared.bininstall: all	dd <memtest.bin >$(FDISK) bs=8192install-precomp:	dd <precomp.bin >$(FDISK) bs=8192	dos: all	cat mt86+_loader memtest.bin > memtest.exe

⌨️ 快捷键说明

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