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

📄 makefile

📁 linux 下svgalib编的一个界面程序示例
💻
字号:
#----------------------------------------------------------------------# Makefile for plane and wrapdemo. See README file.## This file is a part of SVGAlib.#----------------------------------------------------------------------include ../Makefile.cfgsrcdir    = ..VPATH     = $(srcdir)/threeDKit#----------------------------------------------------------------------# Compiler Section (overrides Makefile.cfg)#----------------------------------------------------------------------LOCAL_DEFINES = -DSVGALIBCFLAGS = $(WARN) $(OPTIMIZE) -I$(srcdir)/include -I$(srcdir)/gl -I. $(LOCAL_DEFINES)DLLFLAGS  =#----------------------------------------------------------------------# Rules Section#----------------------------------------------------------------------OBJECTS = 3dinit.o 3dkit.o wrapsurf.o quickmath.o triangle.o striangle.o \	    wtriangle.o swtriangle.o# Determine what library (static or shared) we will be linking programs withifdef INSTALLSHAREDLIB  LIBS = -lm -lvgagl -lvgaendififndef LIBS  LIBS    = -lm ../staticlib/libvgagl.a ../staticlib/libvga.a  LVGADEP = ../staticlib/libvgagl.a ../staticlib/libvga.aendif.PHONY: cleanall: plane wrapdemoplane: planukit.o planinit.o $(OBJECTS) $(LVGADEP)	$(CC) $(LDFLAGS) -o plane planukit.o planinit.o $(OBJECTS) $(LIBS)	chown root plane	chmod u+s planewrapdemo: wrapdemo.o $(OBJECTS) $(LVGADEP)	$(CC) $(CFLAGS) $(LDFLAGS) -o wrapdemo wrapdemo.c $(OBJECTS) $(LIBS)	chown root wrapdemo	chmod u+s wrapdemo.c.o:	$(CC) $(CFLAGS) -c -o $*.o $<clean:	rm -f *.o plane wrapdemo

⌨️ 快捷键说明

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