makefile

来自「Minix3.11的源码。[MINIX 3是一个为高可靠性应用而设计的自由且简洁」· 代码 · 共 42 行

TXT
42
字号
# Makefile for the Sound Blaster 16 driver (SB16)# directoriesu = /usri = $u/includes = $i/sysm = $i/minixb = $i/ibmd = ..# programs, flags, etc.CC =	exec ccCFLAGS = -I$iLDFLAGS = -iLIBS = -lsys -lsysutil# build local binaryall build:	sb16_dsp sb16_mixersb16_dsp:	sb16.o sb16_dsp.o	$(CC) -o $@ $(LDFLAGS) sb16.o sb16_dsp.o $(LIBS)sb16_mixer:	sb16.o sb16_mixer.o	$(CC) -o $@ $(LDFLAGS) sb16.o sb16_mixer.o $(LIBS)# install with other driversinstall:	/usr/sbin/sb16_dsp /usr/sbin/sb16_mixer/usr/sbin/sb16_dsp:	sb16_dsp	install -o root -c $? $@/usr/sbin/sb16_mixer:	sb16_mixer	install -o root -c $? $@# clean up local filesclean:	rm -f *.o *.bak sb16 sb16_dsp sb16_mixerdepend: 	/usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend# Include generated dependencies.include .depend

⌨️ 快捷键说明

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