]> granicus.if.org Git - nethack/commitdiff
win32 Makefile.msc follow up bit
authornethack.allison <nethack.allison>
Thu, 13 Mar 2003 20:31:19 +0000 (20:31 +0000)
committernethack.allison <nethack.allison>
Thu, 13 Mar 2003 20:31:19 +0000 (20:31 +0000)
sys/winnt/Makefile.msc

index 7ed661be01e29b50235b8683738c35ff83196413..a67598eb1111d547c4ccc3e8743f76cc301bdfbd 100644 (file)
@@ -601,9 +601,8 @@ $(O)nhdefkey.def:
        @echo    KeyHandlerName >>$@
 
 $(GAMEDIR)\nhdefkey.dll : $(O)$(@B).o $(O)gamedir.tag $(O)$(@B).def
-       @if not exist $(GAMEDIR)\*.* mkdir $(GAMEDIR)
        @echo Linking $@
-       $(link) -debug:full -debugtype:cv /RELEASE /NOLOGO /DLL user32.lib \
+       @$(link) -debug:full -debugtype:cv /RELEASE /NOLOGO /DLL user32.lib \
                /PDB:"$(@B).PDB" /MAP:"$(@B).map" /DEF:$(O)$(@B).def \
                /IMPLIB:$(O)$(@B).lib -out:$@ $(O)$(@B).o
 
@@ -616,9 +615,8 @@ $(O)nh340key.def:
        @echo    KeyHandlerName >>$@
 
 $(GAMEDIR)\nh340key.dll : $(O)$(@B).o $(O)gamedir.tag $(O)$(@B).def
-       @if not exist $(GAMEDIR)\*.* mkdir $(GAMEDIR)
        @echo Linking $@
-       $(link) -debug:full -debugtype:cv /RELEASE /NOLOGO /DLL user32.lib \
+       @$(link) -debug:full -debugtype:cv /RELEASE /NOLOGO /DLL user32.lib \
                /PDB:"$(@B).PDB" /MAP:"$(@B).map" /DEF:$(O)$(@B).def \
                /IMPLIB:$(O)$(@B).lib -out:$@ $(O)$(@B).o