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

📄 makefile

📁 上一个上传的有问题,这个是好的。visopsys包括系统内核和GUI的全部SOURCE code ,还包括一些基本的docs文档。里面src子目录对应所有SOURCE code.对于想研究操作系统的朋
💻
字号:
####  Visopsys##  Copyright (C) 1998-2005 J. Andrew McLaughlin## ##  Makefile##BUILDDIR=../../build/programsINCDIR=../includeLIBDIR=../../build/system/librariesCC		= gccRELEASE		= $(shell ../../utils/release.sh)CPU		= $(shell ../../utils/cpu.sh)STDDEPS		= Makefile ${INCDIR}/*.h ${INCDIR}/sys/*.h ${LIBDIR}/crt0.oCODEGEN		= -O2 ${CPU} -fno-strength-reduce -fno-strict-aliasingWARN		= -Wall -W -Wshadow -Wmissing-prototypes -Wstrict-prototypes \		-Wmissing-declarations -Wredundant-decls -WerrorINCLUDE         = -nostdinc -I${INCDIR}CFLAGS		= -pipe ${CODEGEN} ${WARN} ${INCLUDE}LFLAGS		= -L${LIBDIR} -nostdlib -nodefaultlibs -nostartfiles -Wl,${LIBDIR}/crt0.o,--warn-common,-X,--oformat,elf32-i386OPTS		= ${CFLAGS} ${LFLAGS}NAMES	= adduser \	bootmenu \	cat \	cdrom \	chkdisk \	clock \	computer \	confedit \	console \	copy-boot \	copy-mbr \	cp \	date \	defrag \	disks \	disprops \	fdisk \	file \	filebrowse \	find \	format \	help \	iconwin \	ifconfig \	imgboot \	install \	keymap \	kill \	ldd \	loadfont \	login \	logout \	ls \	lsdev \	md5 \	mem \	mkdir \	more \	mount \	mv \	passwd \	ping \	progman \	ps \	reboot \	renice \	rm \	rmdir \	screenshot \	shutdown \	sync \	telnet \	test \	touch \	umount \	uname \	uptime \	users \	view \	vsh \	wallpaper \	window \	test_port_io \	su # prev 2 added by Davide Airaghi	OBJS = $(addprefix ${BUILDDIR}/, ${NAMES})# Targetsall: target-dirs ${OBJS}	strip -s ${OBJS}	#make -C minestarget-dirs:	mkdir -p ${BUILDDIR}${BUILDDIR}/%: %.c ${STDDEPS}	${CC} ${OPTS} $< -lwindow -lvsh -lc -o $@clean:	rm -Rf *~ *.o core ${OBJS}	make -C mines clean# Object files with explicit rules${BUILDDIR}/copy-boot: copy-boot.c ${STDDEPS}	${CC} ${OPTS} -DVISOPSYS $< -lvsh -lc -o $@${BUILDDIR}/fdisk: fdisk.c fdisk.h ${STDDEPS}	${CC} ${OPTS} ${PARTLOGIC} $< -lwindow -lvsh -lc -o $@

⌨️ 快捷键说明

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