📄 makefile
字号:
HEADER=header.tkTAIL=tail.tk# Previous versions always remade kconfig.tk because they always depended# on soundscript. This runs fairly fast, and I can't find all the# Config.in files to depend on anyways. So I'll force it to remake.kconfig.tk: dummykconfig.tk: ${TOPDIR}/Makefile ${TOPDIR}/arch/${ARCH}/config.in \ tkparse ${HEADER} ${TAIL} @if [ -f /usr/local/bin/wish ]; then \ echo '#!'"/usr/local/bin/wish -f" > kconfig.tk; \ else \ echo '#!'"/usr/bin/wish -f" > kconfig.tk; \ fi cat ${HEADER} >> ./kconfig.tk ./tkparse < ../arch/${ARCH}/config.in >> kconfig.tk echo "set defaults \"arch/${ARCH}/defconfig\"" >> kconfig.tk echo "set ARCH \"${ARCH}\"" >> kconfig.tk cat ${TAIL} >> kconfig.tk chmod 755 kconfig.tktkparse: tkparse.o tkcond.o tkgen.o ${HOSTCC} -o tkparse tkparse.o tkcond.o tkgen.otkparse.o: tkparse.c tkparse.htkcond.o: tkcond.c tkparse.htkgen.o: tkgen.c tkparse.htkparse.o tkcond.o tkgen.o: $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $(@:.o=.c)docproc.o: docproc.c $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $(@:.o=.c)docproc: docproc.o ${HOSTCC} -o docproc docproc.oclean: rm -f *~ kconfig.tk *.o tkparse mkdep split-include docprocinclude $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -