📄 makefile
字号:
#----------------------------------------------------------------------# 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 + -