nmake Question 
Author Message
 nmake Question

I have a makefile and two simple VB.NET files. The problem is that nmake
doesn't seem to respect the last modified timestamp of the file. Every time
I run it, it recompiles the exe even if the source is up to date.


the file names, nmake respects the last modified timestamp.

Is this a bug in Microsoft's nmake?

#-- MAKEFILE --

_SYSTEM_IMPORTS = /r:System.dll

EXEs = ShowHello ShowTime

all : $(EXEs)


 vbc /t:exe $? $(_SYSTEM_IMPORTS)

clean :

#-- END MAKEFILE --

'-- ShowHello.vb --

Option Explicit On
Option Strict On

Imports System
Module m
    Public Sub Main()
        Console.WriteLine("Hello World")
    End Sub
End Module

'-- End ShowHello.vb --

'-- ShowTime.vb --
Option Explicit On
Option Strict On
Imports System
Imports System.DateTime
Module m
    Public Sub Main()
        Console.WriteLine(Now)
    End Sub
End Module
'-- End ShowTime.vb --



Wed, 30 Jun 2004 10:30:23 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. nmake question

2. Nmake question

3. nmake question

4. NMAKE question

5. NMAKE question

6. nmake question

7. NMAKE cpp dependency question

8. Problem to run nmake in a createprocess command

9. Slow nmake performance

10. Make file (OS/2's nmake) and rcs

11. Microsoft nmake

12. FAQ: help with MS nmake!

 

 
Powered by phpBB® Forum Software