| 
			 
					阅读:1423回复:6
				 
				驱动开发中不在同一个目录下的文件怎么一起编译
					多谢指点				 
							 | 
	|
| 
			 沙发# 
								发布于:2005-01-17 10:07				
			
					在sources文件里面加上包含的目录:
 
							inc = 相对默认目录的路径 [编辑 - 1/17/05 by blue215]  | 
	|
| 
			 板凳# 
								发布于:2005-01-17 13:02				
			
					我这样试过的,好像不行				 
							 | 
	|
| 
			 地板# 
								发布于:2005-01-17 13:12				
			
					A project with two pieces for a driver and a user-space program might take this form:
 
							dirs .\\Driver protocol.c sources UtilRtns.c .\\DriverRtns DriverRtn1.cpp DriverRtn2.cpp makefile sources .\\UserProgram TalkDriver.cpp .\\inc OtherHdrs.h passthru.h http://www.wd-3.com/archive/WinBuild.htm [编辑 - 1/17/05 by KMK]  | 
	|
| 
			 地下室# 
								发布于:2005-01-17 14:07				
			
					这种是每个目录下都有source文件然后每个目录都生成一个文件(sys或exe)吧,而不是所有的都生成一个文件(sys或exe)吧?				 
							 | 
	|
| 
			 5楼# 
								发布于:2005-01-17 14:59				
			
					link里面有sample !!
 
							WinBuild.zip  | 
	|
| 
			 6楼# 
								发布于:2005-01-17 17:49				
			
					搞定了,多谢大侠
 
							 | 
	|