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

📄 makefile

📁 利用VC++和OpenGVS结合编的一个关于火车运行的三维模拟程序。是OpenGVS三维初学者的应该参考的好范例。
💻
📖 第 1 页 / 共 2 页
字号:
############################################################################### makefile##    OpenGVS LightReil (train) demo##       Typical rules:##           make full   # Make everything including dependencies#           make clean  # Cleanup (remove object files and executable)#           make depend # Make compilation dependencies#           make        # Make (default)##############################################################################CVT_GV_DEMOS_NET = $(GV_ROOT)/demos/netdefault: allINCLUDES_POST = \	$(NET_INCLUDES) \	-I$(GV_ROOT)/gifts.c.o:	$(CC) -c $(CFLAGS) $<SOURCES = \	gfx_init.c \	hostdata.c \	season.c \	uevents.c \	uinit.c \	uparse.c \	uproc.c \	ushut.cEXTERNAL_SOURCES = \	$(GV_ROOT)/src/gv_main.c \	$(NET_SRC)EXTERNAL_OBJS = gv_main.o $(NET_OBJS)OBJS = $(EXTERNAL_OBJS) $(SOURCES:.c=.o)GEN_OBJS = $(OBJS) $(EXTERNS)CC = $(G_CC)CFLAGS = $(G_CFLAGS) $(G_CC_OPT) $(INCLUDES_POST)LDFLAGS = $(G_LDFLAGS) LIB_ROOT = $(GV_LIB_ROOT)LLIBS = $(G_LIB_SYS)# External shared makefile rules (e.g., tools)include $(CVT_GV_DEMOS_NET)/net.makfull:   	$(MAKE) clean 	$(MAKE) depend 	$(MAKE) allall:	buildobjs:	$(GEN_OBJS)build:	$(GEN_OBJS) 	$(MAKE) train$(G_FS_EXE)DEPEND_SOURCES = $(EXTERNAL_SOURCES) $(SOURCES)DEPEND_INCS = $(G_CC_INCLUDES)DEPEND_INCS = $(G_CC_INCLUDES) $(INCLUDES_POST)depend:	mdep $(DEPEND_DEFS) $(DEPEND_INCS) $(DEPEND_SOURCES)clean:  cl_obj 	$(G_CLEAN) train$(G_FS_EXE)clean_all: cleancl_obj:	$(G_CLEAN) *.o *.opt *.mdp *.err *.ilk *.pch *.pdb *..c *.bak *.tmp m.log a.out core *.idb *.sbr *.bsc *.ncb *.plgtrain$(G_FS_EXE): \	$(GEN_OBJS) \	$(GV_LIB_GIFTS) $(GV_LIB)	$(G_CCL) $(G_CC_OUT)$@ $(LDFLAGS) \	$(GEN_OBJS) \	$(GV_LIB_GIFTS) $(GV_LIB) $(GV_RESOURCES_GFX) \	$(LLIBS)	$(G_BRAND) train$(G_FS_EXE)# Rules for EXTERNAL_SOURCESgv_main.o:      $(GV_ROOT)/src/gv_main.c	$(CC) $(CFLAGS) -c  $(GV_ROOT)/src/gv_main.c# DO NOT DELETE THIS LINE -- make depend uses itgfx_init.o: $(GV_ROOT)/demos/net/dnet.hgfx_init.o: $(GV_ROOT)/demos/net/skt.hgfx_init.o: $(GV_ROOT)/gifts/taxis3d.hgfx_init.o: $(GV_ROOT)/gifts/tbbox.hgfx_init.o: $(GV_ROOT)/gifts/tcevents.hgfx_init.o: $(GV_ROOT)/gifts/tcorbit.hgfx_init.o: $(GV_ROOT)/gifts/tcursor.hgfx_init.o: $(GV_ROOT)/gifts/tdefs.hgfx_init.o: $(GV_ROOT)/gifts/tdfbf.hgfx_init.o: $(GV_ROOT)/gifts/tendian.hgfx_init.o: $(GV_ROOT)/gifts/tenv.hgfx_init.o: $(GV_ROOT)/gifts/teom.hgfx_init.o: $(GV_ROOT)/gifts/tfcheck.hgfx_init.o: $(GV_ROOT)/gifts/tfixrate.hgfx_init.o: $(GV_ROOT)/gifts/tgifts.hgfx_init.o: $(GV_ROOT)/gifts/tgprintf.hgfx_init.o: $(GV_ROOT)/gifts/tiosync.hgfx_init.o: $(GV_ROOT)/gifts/tjoy.hgfx_init.o: $(GV_ROOT)/gifts/tkui.hgfx_init.o: $(GV_ROOT)/gifts/tlogo.hgfx_init.o: $(GV_ROOT)/gifts/tmfbf.hgfx_init.o: $(GV_ROOT)/gifts/tmsg.hgfx_init.o: $(GV_ROOT)/gifts/tobi.hgfx_init.o: $(GV_ROOT)/gifts/tparse.hgfx_init.o: $(GV_ROOT)/gifts/tq3dred.hgfx_init.o: $(GV_ROOT)/gifts/trecord.hgfx_init.o: $(GV_ROOT)/gifts/tsfx.hgfx_init.o: $(GV_ROOT)/gifts/tshut.hgfx_init.o: $(GV_ROOT)/gifts/tspotlight.hgfx_init.o: $(GV_ROOT)/gifts/tstats.hgfx_init.o: $(GV_ROOT)/gifts/tswnum.hgfx_init.o: $(GV_ROOT)/gifts/ttimeday.hgfx_init.o: $(GV_ROOT)/gifts/ttiming.hgfx_init.o: $(GV_ROOT)/gifts/tvasi.hgfx_init.o: $(GV_ROOT)/gifts/tvideor.hgfx_init.o: $(GV_ROOT)/include/gv_cam.hgfx_init.o: $(GV_ROOT)/include/gv_chn.hgfx_init.o: $(GV_ROOT)/include/gv_cmd.hgfx_init.o: $(GV_ROOT)/include/gv_dev.hgfx_init.o: $(GV_ROOT)/include/gv_env.hgfx_init.o: $(GV_ROOT)/include/gv_fbf.hgfx_init.o: $(GV_ROOT)/include/gv_fnt.hgfx_init.o: $(GV_ROOT)/include/gv_fog.hgfx_init.o: $(GV_ROOT)/include/gv_geo.hgfx_init.o: $(GV_ROOT)/include/gv_gl.hgfx_init.o: $(GV_ROOT)/include/gv_ilc.hgfx_init.o: $(GV_ROOT)/include/gv_imp.hgfx_init.o: $(GV_ROOT)/include/gv_lsr.hgfx_init.o: $(GV_ROOT)/include/gv_mtl.hgfx_init.o: $(GV_ROOT)/include/gv_obj.hgfx_init.o: $(GV_ROOT)/include/gv_scn.hgfx_init.o: $(GV_ROOT)/include/gv_sys.hgfx_init.o: $(GV_ROOT)/include/gv_txr.hgfx_init.o: $(GV_ROOT)/include/gv_types.hgfx_init.o: $(GV_ROOT)/include/gvu_path.hgfx_init.o: $(GV_ROOT)/include/gvu_pmd.hgfx_init.o: $(GV_ROOT)/include/gvu_sge.hgfx_init.o: $(GV_ROOT)/include/gvut_plsr.hgfx_init.o: $(GV_ROOT)/include/q3dsync.hgfx_init.o: $(G_ROOT)/include/GL/glext.hgfx_init.o: $(G_ROOT)/include/g_consts.hgfx_init.o: $(G_ROOT)/include/g_key.hgfx_init.o: $(G_ROOT)/include/g_math.hgfx_init.o: $(G_ROOT)/include/g_msg.hgfx_init.o: $(G_ROOT)/include/g_stdlib.hgfx_init.o: $(G_ROOT)/include/g_sys.hgfx_init.o: $(G_ROOT)/include/g_types.hgfx_init.o: gfx_init.cgfx_init.o: hostdata.hgfx_init.o: train.hgv_main.o: $(GV_ROOT)/include/gv_cam.hgv_main.o: $(GV_ROOT)/include/gv_chn.hgv_main.o: $(GV_ROOT)/include/gv_dev.hgv_main.o: $(GV_ROOT)/include/gv_fbf.hgv_main.o: $(GV_ROOT)/include/gv_fog.hgv_main.o: $(GV_ROOT)/include/gv_geo.hgv_main.o: $(GV_ROOT)/include/gv_gl.hgv_main.o: $(GV_ROOT)/include/gv_imp.hgv_main.o: $(GV_ROOT)/include/gv_lsr.hgv_main.o: $(GV_ROOT)/include/gv_mtl.hgv_main.o: $(GV_ROOT)/include/gv_obj.hgv_main.o: $(GV_ROOT)/include/gv_scn.hgv_main.o: $(GV_ROOT)/include/gv_sys.hgv_main.o: $(GV_ROOT)/include/gv_txr.hgv_main.o: $(GV_ROOT)/include/gv_types.hgv_main.o: $(GV_ROOT)/include/gv_user.hgv_main.o: $(GV_ROOT)/include/gvu_path.hgv_main.o: $(GV_ROOT)/src/gv_main.cgv_main.o: $(G_ROOT)/include/GL/glext.hgv_main.o: $(G_ROOT)/include/g_math.hgv_main.o: $(G_ROOT)/include/g_stdlib.hgv_main.o: $(G_ROOT)/include/g_sys.hgv_main.o: $(G_ROOT)/include/g_types.hhostdata.o: $(GV_ROOT)/demos/net/dnet.hhostdata.o: $(GV_ROOT)/demos/net/skt.hhostdata.o: $(GV_ROOT)/gifts/taxis3d.hhostdata.o: $(GV_ROOT)/gifts/tbbox.hhostdata.o: $(GV_ROOT)/gifts/tcevents.hhostdata.o: $(GV_ROOT)/gifts/tcorbit.hhostdata.o: $(GV_ROOT)/gifts/tcursor.hhostdata.o: $(GV_ROOT)/gifts/tdefs.hhostdata.o: $(GV_ROOT)/gifts/tdfbf.hhostdata.o: $(GV_ROOT)/gifts/tendian.hhostdata.o: $(GV_ROOT)/gifts/tenv.hhostdata.o: $(GV_ROOT)/gifts/teom.hhostdata.o: $(GV_ROOT)/gifts/tfcheck.hhostdata.o: $(GV_ROOT)/gifts/tfixrate.hhostdata.o: $(GV_ROOT)/gifts/tgifts.hhostdata.o: $(GV_ROOT)/gifts/tgprintf.hhostdata.o: $(GV_ROOT)/gifts/tiosync.hhostdata.o: $(GV_ROOT)/gifts/tjoy.hhostdata.o: $(GV_ROOT)/gifts/tkui.hhostdata.o: $(GV_ROOT)/gifts/tlogo.hhostdata.o: $(GV_ROOT)/gifts/tmfbf.hhostdata.o: $(GV_ROOT)/gifts/tmsg.hhostdata.o: $(GV_ROOT)/gifts/tobi.hhostdata.o: $(GV_ROOT)/gifts/tparse.hhostdata.o: $(GV_ROOT)/gifts/tq3dred.hhostdata.o: $(GV_ROOT)/gifts/trecord.hhostdata.o: $(GV_ROOT)/gifts/tsfx.hhostdata.o: $(GV_ROOT)/gifts/tshut.hhostdata.o: $(GV_ROOT)/gifts/tspotlight.hhostdata.o: $(GV_ROOT)/gifts/tstats.hhostdata.o: $(GV_ROOT)/gifts/tswnum.hhostdata.o: $(GV_ROOT)/gifts/ttimeday.hhostdata.o: $(GV_ROOT)/gifts/ttiming.hhostdata.o: $(GV_ROOT)/gifts/tvasi.hhostdata.o: $(GV_ROOT)/gifts/tvideor.hhostdata.o: $(GV_ROOT)/include/gv_cam.hhostdata.o: $(GV_ROOT)/include/gv_chn.hhostdata.o: $(GV_ROOT)/include/gv_dev.hhostdata.o: $(GV_ROOT)/include/gv_fbf.hhostdata.o: $(GV_ROOT)/include/gv_fnt.hhostdata.o: $(GV_ROOT)/include/gv_fog.hhostdata.o: $(GV_ROOT)/include/gv_geo.hhostdata.o: $(GV_ROOT)/include/gv_gl.hhostdata.o: $(GV_ROOT)/include/gv_ilc.hhostdata.o: $(GV_ROOT)/include/gv_imp.hhostdata.o: $(GV_ROOT)/include/gv_lsr.hhostdata.o: $(GV_ROOT)/include/gv_mtl.hhostdata.o: $(GV_ROOT)/include/gv_obj.hhostdata.o: $(GV_ROOT)/include/gv_scn.hhostdata.o: $(GV_ROOT)/include/gv_sys.hhostdata.o: $(GV_ROOT)/include/gv_txr.hhostdata.o: $(GV_ROOT)/include/gv_types.hhostdata.o: $(GV_ROOT)/include/gvu_path.hhostdata.o: $(GV_ROOT)/include/gvu_pmd.hhostdata.o: $(GV_ROOT)/include/gvu_sge.hhostdata.o: $(GV_ROOT)/include/gvut_plsr.hhostdata.o: $(GV_ROOT)/include/q3dsync.hhostdata.o: $(G_ROOT)/include/GL/glext.hhostdata.o: $(G_ROOT)/include/g_consts.hhostdata.o: $(G_ROOT)/include/g_key.hhostdata.o: $(G_ROOT)/include/g_math.hhostdata.o: $(G_ROOT)/include/g_msg.hhostdata.o: $(G_ROOT)/include/g_stdlib.hhostdata.o: $(G_ROOT)/include/g_sys.hhostdata.o: $(G_ROOT)/include/g_timer.hhostdata.o: $(G_ROOT)/include/g_types.hhostdata.o: hostdata.chostdata.o: hostdata.hhostdata.o: train.hnetcomm.o: $(GV_ROOT)/demos/net/netcomm.cnetcomm.o: $(GV_ROOT)/demos/net/netsio.hnetcomm.o: $(GV_ROOT)/demos/net/skt.hnetcomm.o: $(G_ROOT)/include/g_sys.hnetgen.o: $(GV_ROOT)/demos/net/dnet.hnetgen.o: $(GV_ROOT)/demos/net/dnetp.hnetgen.o: $(GV_ROOT)/demos/net/netgen.cnetgen.o: $(GV_ROOT)/demos/net/netsio.hnetgen.o: $(GV_ROOT)/demos/net/skt.hnetgen.o: $(GV_ROOT)/gifts/tendian.hnetgen.o: $(GV_ROOT)/gifts/ttiming.hnetgen.o: $(GV_ROOT)/include/gv_cam.hnetgen.o: $(GV_ROOT)/include/gv_chn.hnetgen.o: $(GV_ROOT)/include/gv_fbf.hnetgen.o: $(GV_ROOT)/include/gv_fog.hnetgen.o: $(GV_ROOT)/include/gv_geo.hnetgen.o: $(GV_ROOT)/include/gv_gl.hnetgen.o: $(GV_ROOT)/include/gv_imp.hnetgen.o: $(GV_ROOT)/include/gv_lsr.hnetgen.o: $(GV_ROOT)/include/gv_mtl.hnetgen.o: $(GV_ROOT)/include/gv_obj.hnetgen.o: $(GV_ROOT)/include/gv_scn.hnetgen.o: $(GV_ROOT)/include/gv_sys.hnetgen.o: $(GV_ROOT)/include/gv_txr.hnetgen.o: $(GV_ROOT)/include/gv_types.hnetgen.o: $(GV_ROOT)/include/gvu_path.hnetgen.o: $(GV_ROOT)/include/q3dsync.hnetgen.o: $(G_ROOT)/include/GL/glext.hnetgen.o: $(G_ROOT)/include/g_math.hnetgen.o: $(G_ROOT)/include/g_stdlib.hnetgen.o: $(G_ROOT)/include/g_sys.hnetgen.o: $(G_ROOT)/include/g_timer.hnetgen.o: $(G_ROOT)/include/g_types.hnetmastr.o: $(GV_ROOT)/demos/net/dnet.hnetmastr.o: $(GV_ROOT)/demos/net/dnetp.hnetmastr.o: $(GV_ROOT)/demos/net/netmastr.cnetmastr.o: $(GV_ROOT)/demos/net/netsio.hnetmastr.o: $(GV_ROOT)/demos/net/skt.hnetmastr.o: $(GV_ROOT)/gifts/tendian.hnetmastr.o: $(GV_ROOT)/gifts/ttiming.hnetmastr.o: $(GV_ROOT)/include/gv_cam.hnetmastr.o: $(GV_ROOT)/include/gv_chn.hnetmastr.o: $(GV_ROOT)/include/gv_fbf.hnetmastr.o: $(GV_ROOT)/include/gv_fog.hnetmastr.o: $(GV_ROOT)/include/gv_geo.hnetmastr.o: $(GV_ROOT)/include/gv_gl.hnetmastr.o: $(GV_ROOT)/include/gv_imp.hnetmastr.o: $(GV_ROOT)/include/gv_lsr.hnetmastr.o: $(GV_ROOT)/include/gv_mtl.hnetmastr.o: $(GV_ROOT)/include/gv_obj.hnetmastr.o: $(GV_ROOT)/include/gv_scn.hnetmastr.o: $(GV_ROOT)/include/gv_sys.hnetmastr.o: $(GV_ROOT)/include/gv_txr.hnetmastr.o: $(GV_ROOT)/include/gv_types.hnetmastr.o: $(GV_ROOT)/include/gvu_path.hnetmastr.o: $(GV_ROOT)/include/q3dsync.hnetmastr.o: $(G_ROOT)/include/GL/glext.hnetmastr.o: $(G_ROOT)/include/g_math.hnetmastr.o: $(G_ROOT)/include/g_stdlib.hnetmastr.o: $(G_ROOT)/include/g_sys.hnetmastr.o: $(G_ROOT)/include/g_types.hnetslave.o: $(GV_ROOT)/demos/net/dnet.hnetslave.o: $(GV_ROOT)/demos/net/dnetp.hnetslave.o: $(GV_ROOT)/demos/net/netsio.hnetslave.o: $(GV_ROOT)/demos/net/netslave.cnetslave.o: $(GV_ROOT)/demos/net/skt.hnetslave.o: $(GV_ROOT)/gifts/tendian.hnetslave.o: $(GV_ROOT)/gifts/ttiming.hnetslave.o: $(GV_ROOT)/include/gv_cam.hnetslave.o: $(GV_ROOT)/include/gv_chn.hnetslave.o: $(GV_ROOT)/include/gv_fbf.hnetslave.o: $(GV_ROOT)/include/gv_fog.hnetslave.o: $(GV_ROOT)/include/gv_geo.hnetslave.o: $(GV_ROOT)/include/gv_gl.hnetslave.o: $(GV_ROOT)/include/gv_imp.hnetslave.o: $(GV_ROOT)/include/gv_lsr.hnetslave.o: $(GV_ROOT)/include/gv_mtl.hnetslave.o: $(GV_ROOT)/include/gv_obj.hnetslave.o: $(GV_ROOT)/include/gv_scn.hnetslave.o: $(GV_ROOT)/include/gv_sys.hnetslave.o: $(GV_ROOT)/include/gv_txr.hnetslave.o: $(GV_ROOT)/include/gv_types.hnetslave.o: $(GV_ROOT)/include/gvu_path.hnetslave.o: $(GV_ROOT)/include/q3dsync.hnetslave.o: $(G_ROOT)/include/GL/glext.hnetslave.o: $(G_ROOT)/include/g_math.hnetslave.o: $(G_ROOT)/include/g_stdlib.hnetslave.o: $(G_ROOT)/include/g_sys.hnetslave.o: $(G_ROOT)/include/g_types.hseason.o: $(GV_ROOT)/gifts/taxis3d.hseason.o: $(GV_ROOT)/gifts/tbbox.h

⌨️ 快捷键说明

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