Re[2]: [AD] msvcmake is broken |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Tue, 1 Jan 2002 22:50:03 +0100
Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> > msvcmake.bat still uses some DJGPP code.
> > Specifically, 'cat' is being used. The fix is simple: replace it with
> > copy.
>
> Shouldn't that be `type' since that is the DOS/Windows equivalent to `cat'?
>
> > copy tools\plugins\*.h tools\plugins.h
>
> Will this work out? I think on my system it'll just copy each .h file in
> tools/plugins to tools/plugins.h, overwriting the previous copy.
>
> Hmm... IIRC, `type' doesn't like multiple filenames or wildcards.
> I think it would be easiest to simply require cat.exe to be installed
> (fileutils, I think?)
Please try not to insist on having fileutils ...
I think this code would work:
del tools\plugins.h
for %a in (tools\plugins\*.h) do type %a>>tools\plugins.h
--
Igor Gnip <gnipi@xxxxxxxxxx>