| 
 this dependence is from ethereal-0.10.9\Makefile.nmake 
___________________________________________________ ethereal.exe : 
config.h svnversion.h $(ethereal_OBJECTS) epan gtk image\ethereal.res 
wiretap\wiretap-$(WTAP_VERSION).lib gtk\libui.lib plugins  @echo Linking 
$@  $(LINK) @<<   /OUT:ethereal.exe $(guiflags) 
$(guilibsdll) $(LDFLAGS) /SUBSYSTEM:windows $(ethereal_LIBS) $(GTK1_LIBS) 
gtk\libui.lib $(ethereal_OBJECTS) image\ethereal.res << 
  
and this is from ethereal-0.10.9\wiretap\Makefile.nmake 
___________________________________________________ 
wiretap-$(WTAP_VERSION).dll : $(OBJECTS) wtap.def 
..\image\wiretap.res  $(link) $(dlllflags) $(conlibsdll) 
\   $(LOCAL_LDFLAGS) \   /DEF:wtap.def 
/OUT:wiretap-$(WTAP_VERSION).dll 
\   /IMPLIB:wiretap-$(WTAP_VERSION).lib 
\   ..\image\wiretap.res \   $(OBJECTS) 
$(wiretap_LIBS)
  
MY PROPLEMS ARE: 
the creation of objects in $(ethereal_OBJECTS) and $(OBJECTS) are always 
ignored by NMAKE no matter whether these objects  
are existing or not. 
  
  
but if I modify the Makefile.nmakes in this way as follow,it would go 
well.......... 
___________________________________________________ 
all :obj ethereal.exe 
obj: $(ethereal_OBJECTS) ethereal.exe : config.h svnversion.h epan 
gtk image\ethereal.res wiretap\wiretap-$(WTAP_VERSION).lib gtk\libui.lib 
plugins  @echo Linking $@  $(LINK) 
@<<   /OUT:ethereal.exe $(guiflags) $(guilibsdll) $(LDFLAGS) 
/SUBSYSTEM:windows $(ethereal_LIBS) $(GTK1_LIBS) gtk\libui.lib 
$(ethereal_OBJECTS) image\ethereal.res << 
  
So can any one tell me what is wrong with this Makefile or even NMAKE? 
 
by the way, what is the differences between this two statements: 
all :: dep1,dep2 
all : dep1,dep2 
  
Any help much appreciated!!! 
  
  
STONE 
 |