[PD-dev] [PATCH] made automake system kind-of work

Hans-Christoph Steiner hans at at.or.at
Thu Jul 15 18:03:09 CEST 2010


I think the nmake files should be separately maintained and named  
accordingly, and only have nmake content in them, like the pd/src/ 
makefile.nt.  But I think 'makefile.nt' isn't a good name, it should  
be like 'makefile.windows' or 'makefile.msvc' or 'makefile.nmake'.

 From my experience, makefiles that mix proper make and nmake stuff  
are just a massive headache.  Or maybe M$ is just a massive headache,  
so I want to wrap it in GNU.  Just a spoonful of sugar makes the  
"medicine" go down...

.hc

On Jul 15, 2010, at 11:33 AM, Miller Puckette wrote:

> Another fly in the ointment -- I use the extra/*/makefile s when  
> compiling
> for  windows under Visual C (the ugly "nmake" program) -- and  
> haven't been
> able to figure out how to do that from a central spot yet.
>
> cheers
> Miller
>
> On Thu, Jul 15, 2010 at 10:27:17AM -0400, Hans-Christoph Steiner  
> wrote:
>>
>> On Jul 15, 2010, at 10:10 AM, IOhannes m zmoelnig wrote:
>>
>>> On 2010-07-15 16:06, Hans-Christoph Steiner wrote:
>>>>
>>>> FYI: if you remove all makefiles in 'extra' you can replace it with
>>>> the
>>>> extra/Makefile from pd-gui-rewrite-0.43 which builds all objects in
>>>> 'extra'.  It has the added advantage of working on GNU/Linux, Mac
>>>> OS X,
>>>> MinGW and Cygwin, plus is based on the Makefile template for
>>>> libraries.
>>>> The existing 'extra' makefiles have always been problematic when it
>>>> comes to anything but GNU/Linux.
>>>>
>>>
>>> true.
>>> however the extra/Makefile from pd-gui-rewrite is again a big
>>> monolithic
>>> chunk with all files (and by-now non-existant files as well)
>>> enumerated.
>>> it reminds me of the old externs/Makefile for pd-extended.
>>> that's one reason why i chose not to use that.
>>>
>>> fgmasdr
>>> IOhannes
>>>
>>
>>
>> One good feature that a build system should provide is to notify you
>> when files are missing.  So if files have been removed from pd/extra
>> in 0.43, then the build system should tell you that.  Then you should
>> edit the Makefile so it has an up-to-date list of relevant files.
>>
>> .hc
>>
>>
>> ----------------------------------------------------------------------------
>>
>>                                              http://at.or.at/hans/
>>
>>
>>
>> _______________________________________________
>> Pd-dev mailing list
>> Pd-dev at iem.at
>> http://lists.puredata.info/listinfo/pd-dev



----------------------------------------------------------------------------

I spent 33 years and four months in active military service and during  
that period I spent most of my time as a high class muscle man for Big  
Business, for Wall Street and the bankers.      - General Smedley Butler





More information about the Pd-dev mailing list