📄 makefile
字号:
# @(#)Makefile 7.7 (Berkeley) 5/8/91CFLAGS= -DLOCORE# source files that live in the current directorySRCS= hkboot.c hpboot.c htboot.c mtboot.c raboot.c rdboot.c rlboot.c \ upboot.c utboot.c tmboot.c tsboot.c tuboot.c httoggle.s mttoggle.s \ tmtoggle.s tstoggle.s uttoggle.s# boot blocks that are preprocessed, then assembledBOOTS= hkboot hpboot htboot mtboot raboot rdboot rlboot upboot utboot \ tmboot tmscpboot tsboot tuboot# toggle files that are assembled, but not installedTOGGLES=httoggle mttoggle tmtoggle tstoggle uttoggleall: ${BOOTS} ${TOGGLES} noboot${BOOTS}: ${CC} -E ${CFLAGS} $@.c | as nm -u a.out strip a.out dd if=a.out bs=32 skip=1 of=b.out dd if=b.out of=$@ conv=sync rm b.out${TOGGLES}: as $@.s nm -u a.out strip a.out dd if=a.out bs=32 skip=1 of=$@noboot: echo | dd of=noboot conv=syncclean: rm -f a.out b.out ${BOOTS} ${TOGGLES} nobootinstall: install -o bin -g bin -m 444 ${BOOTS} ${DESTDIR}/usr/mdec rm -f ${DESTDIR}/usr/mdec/mboot ${DESTDIR}/usr/mdec/uboot ln ${DESTDIR}/usr/mdec/htboot ${DESTDIR}/usr/mdec/mboot ln ${DESTDIR}/usr/mdec/hpboot ${DESTDIR}/usr/mdec/ubootdepend: mkdep -p ${CFLAGS} ${SRCS}# DO NOT DELETE THIS LINE -- mkdep uses it.# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.hkboot: hkboot.c /usr/include/sys/disklabel.hhpboot: hpboot.c /usr/include/sys/disklabel.hhtboot: htboot.cmtboot: mtboot.craboot: raboot.c /usr/include/sys/disklabel.hrlboot: rlboot.c /usr/include/sys/disklabel.hupboot: upboot.c /usr/include/sys/disklabel.hutboot: utboot.ctmboot: tmboot.ctsboot: tsboot.ctuboot: tuboot.chttoggle: httoggle.smttoggle: mttoggle.stmtoggle: tmtoggle.ststoggle: tstoggle.suttoggle: uttoggle.s# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -