summaryrefslogtreecommitdiff
path: root/app/wlib/test/wtest.mak
blob: 6c1a62a23750beff83abae00b84cbf0019f7a566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all: $(TEST).exe wtest.res  

some: wtest.exe wtest.res    

FREDOBJS = $(TEST).obj  

.c.obj: 	
		@cl /nologo /DWINDOWS /c /I../include /Od /Zp /W3 $<  	  

mswlibl: 	
		echo making mswlib.lib 	
		cd ..\mswlib 	
		makemsw 	
		cd ..\wtest   

$(TEST).exe: $(FREDOBJS) wtest.def 	
		@echo /nologo > $(TEST).lnk 	
		@echo $(TEST).obj >> $(TEST).lnk 	
		@echo $(TEST) >> $(TEST).lnk 	
		@echo $(TEST) >> $(TEST).lnk 	
		@echo ..\mswlib\Debug\wlib.lib  >> $(TEST).lnk 	
		link @$(TEST).lnk 	
		rc /I.. /I..\mswlib wtest.rc $(TEST).exe