.bat file to help compile easier - dmd/build

Michael P. baseball.mjp at gmail.com
Fri Jan 2 18:55:39 PST 2009


Jarrett Billingsley Wrote:

> On Fri, Jan 2, 2009 at 2:17 PM, Michael P. <baseball.mjp at gmail.com> wrote:
> > Okay, so right now, I'm making a small game(Mario) using DAllegro. I use build, and every time, I have to type this in to compile my progress:
> >
> > build mario alleg.lib
> >
> > Now, I know it's not a lot of typing. But considering I type mario wrong every so often, and I generally want to execute it after, assuming there is not compiler errors, it takes time.
> > In a .bat file right now, I have this:
> >
> > build mario alleg.lib
> > mario
> 
> build mario alleg.lib && mario

Okay, thanks, that worked like I wanted it to.
-Michael P.


More information about the Digitalmars-d-learn mailing list