gnu make fix for NT

I ended up with a list of all the files in my hard disk's root
appended to the file. Yikes.
This commit is contained in:
nethack.allison
2002-08-12 01:45:38 +00:00
parent 0f25a4856f
commit 669da6399e
+6 -6
View File
@@ -723,8 +723,8 @@ else
@echo lev_comp.h from $(SSYS) into $(UTIL) and use them. @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_yacc.c $(U)lev_yacc.c >nul)
$(subst /,\,@copy $(SSYS)/lev_comp.h $(INCL)/lev_comp.h >nul) $(subst /,\,@copy $(SSYS)/lev_comp.h $(INCL)/lev_comp.h >nul)
@echo /**/ $(subst /,\,>>$(U)lev_yacc.c) $(subst /,\,echo.>>$(U)lev_yacc.c)
@echo /**/ $(subst /,\,>>$(INCL)/lev_comp.h) $(subst /,\,echo.>>$(INCL)/lev_comp.h)
endif endif
$(U)lev_$(LEX).c: $(U)lev_comp.l $(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 For now, we will copy the prebuilt lev_lex.c
@echo from $(SSYS) into $(UTIL) and use it. @echo from $(SSYS) into $(UTIL) and use it.
$(subst /,\,@copy $(SSYS)/lev_lex.c $@ >nul) $(subst /,\,@copy $(SSYS)/lev_lex.c $@ >nul)
@echo /**/ $(subst /,\,>>$@) $(subst /,\,echo.>>$@)
endif endif
#========================================== #==========================================
@@ -779,8 +779,8 @@ else
@echo dgn_comp.h from $(SSYS) into $(UTIL) and use them. @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_yacc.c $(U)dgn_yacc.c >nul)
$(subst /,\,@copy $(SSYS)/dgn_comp.h $(INCL)/dgn_comp.h >nul) $(subst /,\,@copy $(SSYS)/dgn_comp.h $(INCL)/dgn_comp.h >nul)
@echo /**/ $(subst /,\,>>$(U)dgn_yacc.c) @$(subst /,\,echo.>>$(U)dgn_yacc.c)
@echo /**/ $(subst /,\,>>$(INCL)/dgn_comp.h) @$(subst /,\,echo.>>$(INCL)/dgn_comp.h)
endif endif
$(U)dgn_$(LEX).c: $(U)dgn_comp.l $(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 For now, we will copy the prebuilt dgn_lex.c
@echo from $(SSYS) into $(UTIL) and use it. @echo from $(SSYS) into $(UTIL) and use it.
$(subst /,\,@copy $(SSYS)/dgn_lex.c $@ >nul) $(subst /,\,@copy $(SSYS)/dgn_lex.c $@ >nul)
@echo /**/ $(subst /,\,>>$@) @$(subst /,\,echo.>>$@)
endif endif
#========================================== #==========================================