makefile

来自「[Game.Programming].Academic - Graphics G」· 代码 · 共 35 行

TXT
35
字号
# -*- Makefile -*-# based on gnu's make.SUFFIXES: .cc .hGPP     = g++# Compiler options, such as -g or -O :COPTS   = -O2# Linker/loader options, such as -s :LOPTS   = -sLIBS    = -lm MOBJS = main.o polygon.o dedge.o plane.o list.oSRCS  = ${MOBJS:.o=.cc}.cc.o:; $(GPP) -c $(COPTS)  $*.ccptest: $(MOBJS)	$(GPP) $(COPTS) $(LOPTS) -o $@ $(MOBJS) $(LIBS)# ------------------------------------clean:; $(RM) Makefile.bak *.o *~ a.out core errs TAGSdepend: 	/usr/local/X11/makedepend $(SRCS)# DO NOT DELETE THIS LINE -- make depend depends on it.main.o: polygon.h list.h plane.h vector.h point.h dedge.hpolygon.o: /usr/include/assert.h polygon.h list.h plane.h vector.h point.hpolygon.o: dedge.hdedge.o: /usr/include/stdlib.h /usr/include/sys/feature_tests.hdedge.o: /usr/include/assert.h dedge.hplane.o: plane.h vector.h point.h /usr/include/assert.hlist.o: list.h

⌨️ 快捷键说明

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