Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: New makefile to compile crafty under DOS with gnu 2.9.5

Author: Paolo Casaschi

Date: 14:15:46 10/26/99

Go up one level in this thread


On October 26, 1999 at 15:19:42, Michel Langeveld wrote:

>
> Although the "make clean" still doesn't work properly
> since there's no rm in DOS it's doing fine.
> (Does someone knows a neat way to solve this?)
>

Just create rm for DOS.

Is is enough something like this (didnt checj the sintax)

Create a file rm.bat like this:

---- start of rm.bat ----
@echo off
:start
if "%1"==""   goto end
if "%1"=="-f" goto start
del %1
goto start

:end

---- end   of rm.bat ----

It will delete all the file in the "rm -f a b c d" command
line, skipping the -f switch.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.