]> granicus.if.org Git - nethack/commitdiff
gnu make fix for NT
authornethack.allison <nethack.allison>
Mon, 12 Aug 2002 01:45:38 +0000 (01:45 +0000)
committernethack.allison <nethack.allison>
Mon, 12 Aug 2002 01:45:38 +0000 (01:45 +0000)
I ended up with a list of all the files in my hard disk's root
appended to the file. Yikes.

sys/winnt/Makefile.gcc

index aff7e1e57a18da1e82108276f77cc13d801d0db4..4db84f161d9cd1ca6bff5380832e42a06cd03174 100644 (file)
@@ -723,8 +723,8 @@ else
        @echo lev_comp.h from $(SSYS) into $(UTIL) and use them.
        $(subst /,\,@copy $(SSYS)/lev_yacc.c $(U)lev_yacc.c >nul)
        $(subst /,\,@copy $(SSYS)/lev_comp.h $(INCL)/lev_comp.h >nul)
-       @echo /**/ $(subst /,\,>>$(U)lev_yacc.c)
-       @echo /**/ $(subst /,\,>>$(INCL)/lev_comp.h)
+       $(subst /,\,echo.>>$(U)lev_yacc.c)
+       $(subst /,\,echo.>>$(INCL)/lev_comp.h)
 endif
 
 $(U)lev_$(LEX).c: $(U)lev_comp.l
@@ -740,7 +740,7 @@ else
        @echo For now, we will copy the prebuilt lev_lex.c
        @echo from $(SSYS) into $(UTIL) and use it.
        $(subst /,\,@copy $(SSYS)/lev_lex.c $@ >nul)
-       @echo /**/ $(subst /,\,>>$@)
+       $(subst /,\,echo.>>$@)
 endif
 
 #==========================================
@@ -779,8 +779,8 @@ else
        @echo dgn_comp.h from $(SSYS) into $(UTIL) and use them.
        $(subst /,\,@copy $(SSYS)/dgn_yacc.c $(U)dgn_yacc.c >nul)
        $(subst /,\,@copy $(SSYS)/dgn_comp.h $(INCL)/dgn_comp.h >nul)
-       @echo /**/ $(subst /,\,>>$(U)dgn_yacc.c)
-       @echo /**/ $(subst /,\,>>$(INCL)/dgn_comp.h)
+       @$(subst /,\,echo.>>$(U)dgn_yacc.c)
+       @$(subst /,\,echo.>>$(INCL)/dgn_comp.h)
 endif
 
 $(U)dgn_$(LEX).c: $(U)dgn_comp.l
@@ -796,7 +796,7 @@ else
        @echo For now, we will copy the prebuilt dgn_lex.c
        @echo from $(SSYS) into $(UTIL) and use it.
        $(subst /,\,@copy $(SSYS)/dgn_lex.c $@ >nul)
-       @echo /**/ $(subst /,\,>>$@)
+       @$(subst /,\,echo.>>$@)
 endif
 
 #==========================================