📄 makefile.w32
字号:
#
# libsgl Makefile
#
# $Id: Makefile.w32,v 1.1.1.1 2001/02/28 00:28:37 cstolte Exp $
#
SGLDIR = .
CXXFLAGS = $(DEBUG) /c /TP /GA3s /nologo /W3 /I.. /I. -GX
CXXINCDIR = "c:\Program Files\Microsoft Visual Studio\VC98\Include"
CXX = cl.exe
DEBUG = /Ox
ABI =
SRCS = args.cc args2.cc interval.cc vecmath2.cc vecmath3.cc plane.cc \
transform2.cc transform3.cc mathfunc.cc noise.cc matrix.cc \
random.cc hmg.cc tuples.cc opengl.cc wnoise.cc
PROGS = testsgl.cc testrandom.cc testmat.cc testtrans.cc testpolar.cc \
testplane.cc testwnoise.cc
OBJS = $(SRCS:.cc=.obj)
.PHONY: sgl.lib
all: sgl.lib
test: sgl.lib testsgl testrandom testmat testtrans testpolar testplane
sgl.lib: $(OBJS)
lib.exe /out:sgl.lib $(OBJS)
testsgl: testsgl.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testsgl.exe testsgl.obj -L. -lsgl -lgl -lm
testrandom: testrandom.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testrandom.exe testrandom.obj -L. -lsgl -lgl -lm
testmat: testmat.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testmat.exe testmat.obj -L. -lsgl -lgl -lm
testtrans: testtrans.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testtrans.exe testtrans.obj -L. -lsgl -lm
testpolar: testpolar.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testpolar.exe testpolar.obj -L. -lsgl -lm
testplane: testplane.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testplane.exe testplane.obj -L. -lsgl -lm
testwnoise: testwnoise.obj sgl.lib
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o testwnoise.exe testwnoise.obj -L. -lsgl -lm
clean:
/bin/rm -f $(OBJS) sgl.lib *~ core
testsgl: sgl.lib
testrandom: sgl.lib
testmat: sgl.lib
testtrans: sgl.lib
args.obj: args.cc
$(CXX) $(CXXFLAGS) args.cc
args2.obj: args2.cc
$(CXX) $(CXXFLAGS) args2.cc
interval.obj: interval.cc
$(CXX) $(CXXFLAGS) interval.cc
vecmath2.obj: vecmath2.cc
$(CXX) $(CXXFLAGS) vecmath2.cc
vecmath3.obj: vecmath3.cc
$(CXX) $(CXXFLAGS) vecmath3.cc
plane.obj: plane.cc
$(CXX) $(CXXFLAGS) plane.cc
transform2.obj: transform2.cc
$(CXX) $(CXXFLAGS) transform2.cc
transform3.obj: transform3.cc
$(CXX) $(CXXFLAGS) transform3.cc
mathfunc.obj: mathfunc.cc
$(CXX) $(CXXFLAGS) mathfunc.cc
noise.obj: noise.cc
$(CXX) $(CXXFLAGS) noise.cc
matrix.obj: matrix.cc
$(CXX) $(CXXFLAGS) matrix.cc
random.obj: random.cc
$(CXX) $(CXXFLAGS) random.cc
hmg.obj: hmg.cc
$(CXX) $(CXXFLAGS) hmg.cc
tuples.obj: tuples.cc
$(CXX) $(CXXFLAGS) tuples.cc
opengl.obj: opengl.cc
$(CXX) $(CXXFLAGS) opengl.cc
wnoise.obj: wnoise.cc
$(CXX) $(CXXFLAGS) wnoise.cc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -