Thread overview | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 10, 2004 dmake - clean? | ||||
---|---|---|---|---|
| ||||
Hello. I've been using dmake for a bit and I like it. I was wondering, could there be some option for dmake that deletes all object files created from the main program? maybe like 'dmake main.d -clean' :-) thx |
October 10, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | clayasaurus wrote:
> Hello. I've been using dmake for a bit and I like it.
> I was wondering, could there be some option for dmake
> that deletes all object files created from the main program?
> maybe like 'dmake main.d -clean'
> :-)
> thx
do you mean: dmake main -build ?
|
October 10, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tyro | Tyro wrote:
> clayasaurus wrote:
>
>> Hello. I've been using dmake for a bit and I like it.
>> I was wondering, could there be some option for dmake
>> that deletes all object files created from the main program?
>> maybe like 'dmake main.d -clean'
>> :-)
>> thx
>
>
> do you mean: dmake main -build ?
Hum no. -build just rebuilds the whole project. It still leaves around a lot of little object files all over the place.
|
October 10, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | clayasaurus wrote: > > Hello. I've been using dmake for a bit and I like it. > I was wondering, could there be some option for dmake > that deletes all object files created from the main program? > maybe like 'dmake main.d -clean' > :-) > thx That would be simple to do. Is this important for you? Questions: A: What to delete: (1) delete those object files that have been created during the make? (2) delete all object files that have an corresponding sourcefile? B: Should (3) -clean be a separate step [this could only go with (2)] (4) -clean be combinable with make (default) and -build (1)+(4) would leave you with just a single new executable (2)+(3||4) would delete all object files that can be recompiled == For information: Derek Parnell programmed a much extended version of dmake (800 => 1400 LOC) that contains a lot of new options. The only problem is that I've currently not the time to test it. I suggested to publish it as a fork, but he prefers to wait. -- Helmut Leitner leitner@hls.via.at Graz, Austria www.hls-software.com |
October 10, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Helmut Leitner | Helmut Leitner wrote:
>
> clayasaurus wrote:
>
>>Hello. I've been using dmake for a bit and I like it.
>>I was wondering, could there be some option for dmake
>>that deletes all object files created from the main program?
>>maybe like 'dmake main.d -clean'
>>:-)
>>thx
>
>
> That would be simple to do.
>
I've taken the liberty of modifying your program to do this already. I'm curious to see if you would suggest a better way about doing it. Can I post it here or is there somewhere else you would like me to send it?
Andrew
|
October 10, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Helmut Leitner | [snip] Yes.. I used the following options in my update. > A: What to delete: > (2) delete all object files that have an corresponding sourcefile? [snip] > B: Should (3) -clean be a separate step [this could only go with (2)] [snip] Andrew |
October 10, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Helmut Leitner | A: delete object files created from make
B: seperate step.
I'd use it as a quick way to clean out the directories of object files so i can zip it or add it to svn. :-)
Helmut Leitner wrote:
>
> clayasaurus wrote:
>
>>Hello. I've been using dmake for a bit and I like it.
>>I was wondering, could there be some option for dmake
>>that deletes all object files created from the main program?
>>maybe like 'dmake main.d -clean'
>>:-)
>>thx
>
>
> That would be simple to do.
>
> Is this important for you?
>
> Questions:
>
> A: What to delete:
> (1) delete those object files that have been created during the make?
> (2) delete all object files that have an corresponding sourcefile?
>
> B: Should (3) -clean be a separate step [this could only go with (2)]
> (4) -clean be combinable with make (default) and -build
>
> (1)+(4) would leave you with just a single new executable
>
> (2)+(3||4) would delete all object files that can be recompiled
>
> ==
>
> For information: Derek Parnell programmed a much extended version of dmake (800 => 1400 LOC) that contains a lot of new options.
> The only problem is that I've currently not the time to test it.
> I suggested to publish it as a fork, but he prefers to wait.
>
|
October 11, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tyro | Tyro wrote: > > Helmut Leitner wrote: > > > > clayasaurus wrote: > > > >>Hello. I've been using dmake for a bit and I like it. > >>I was wondering, could there be some option for dmake > >>that deletes all object files created from the main program? > >>maybe like 'dmake main.d -clean' > >>:-) > >>thx > > > > > > That would be simple to do. > > > I've taken the liberty of modifying your program to do this already. I'm curious to see if you would suggest a better way about doing it. Can I post it here or is there somewhere else you would like me to send it? I think the source is too long to post it here. Send it to me and all who request it. -- Helmut Leitner leitner@hls.via.at Graz, Austria www.hls-software.com |
October 11, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | clayasaurus wrote: > > A: delete object files created from make > B: seperate step. > > I'd use it as a quick way to clean out the directories of object files so i can zip it or add it to svn. :-) commandline zip should have options to select or suppress extensions. svn should be configurable that object files (certain extensions or wildcard patterns) aren't transferred. -- Helmut Leitner leitner@hls.via.at Graz, Austria www.hls-software.com |
October 13, 2004 Re: dmake - clean? | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | On Sat, 09 Oct 2004 23:15:26 -0400, clayasaurus <clayasaurus@gmail.com> wrote:
> Hello. I've been using dmake for a bit and I like it.
> I was wondering, could there be some option for dmake
> that deletes all object files created from the main program?
> maybe like 'dmake main.d -clean'
> :-)
> thx
where can i download dmake?
|
Copyright © 1999-2021 by the D Language Foundation