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

📄 makefile

📁 linux下的一些小游戏编程
💻
字号:
CFLAGS=-W -Wall -ggdb -O2CC=gccSNDFILE_LIB=-lsndfile# To disable ALSA support, add -DDISABLE_ALSA.# To disable ESD support, add -DDISABLE_ESD.# To disable OSS support, add -DDISABLE_OSS.# Also edit the LIBS line to remove unnecessary libraries.DISABLE=LIBS=-lesd -lasound.PHONY: default cleandefault:	@echo 'Please edit the Makefile and configure the DISABLE and LIBS lines.'	@echo 'Then run make multi-play to build the program.'clean:	rm -f multi-play	rm -f *~multi-play: mp-alsa.c mp-esd.c mp-oss.c mp-oss2.c mp-dma.c mp-loadsound.c multi-play.c	$(CC) $(CFLAGS) $(DISABLE) multi-play.c -o multi-play $(LIBS) $(SNDFILE_LIB)

⌨️ 快捷键说明

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