Web lists-archives.com

Re: [Mingw-users] object not compiling




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/05/16 17:00, Lee Shallis wrote:
> On 30 May 2016 at 16:21, Keith Marshall
> <keithmarshall@xxxxxxxxxxxxxxxxxxxxx
>> wrote:
> 
>> Keep it simple.  Just declare the prerequisite dependencies
>> directly; don't get embroiled in unnecessary use of complex
>> features, especially when you don't fully understand their
>> limitations.  You don't need to use target-specific variables
>> here, (especially since they don't meet your requirements).
> 
> 
> ​Okay for now I'm just gonna go with this sort of setup in the
> target.mk files test: paths $(OBJECTS) $(O)test.o $(O)test.o:
> $(PROCLST_H)​
> 
> ​But I still haven't given up on the idea of generated
> prerequisites.

You *can* generate them ... just not via target-specific variables.
Have a look at GNU make's $(addprefix) and $(addsuffix) functions; if
you need an example, maybe consider:

https://sourceforge.net/p/mingw/mingw-org-wsl/ci/legacy/tree/mingwrt/Makefile.in

In particular, see how I generate the mscvrt*.a dependencies.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJXTGhIAAoJEMCtNsY0flo/reMP/0j4vj6RnUHgPItSUY1Tl7D3
dgO+62qDjYee+H4EHNmw0TsLn5RFvPURHkp78tat9jepXV4Y5YUINRrJkrK5UXPm
cYnpOlmdHWdkO4NykXrYM5+2+dpiRs46TfDsls6ra0SI/Mx9sNq1hA8i79z7FNzy
lv2Wnce7chgHp8xWwwAbdYeP/rKxtQ5QVkJZT4T82Et0T+U0JxMlf+ER2+/E4ksB
AH0l0jNnVtLoeuI3koNZarVIHlAxZP8LtY65q7mDzhjdUKKwK88A978IfRpSDNFm
fmD83OMV0hUcKdGtEJSkry1+p7T2W6q9zAGaIJkTBHhXiJN8CsgKj9PeR3M1V5Da
IufAQbueENKSaiHQGnlvNj5y1/U/n4XO302icYY0BcKIx9SnIBLCSAeYnjFfmXAd
x2gPK/9PWene5yw3/IfTkeTvHc21iEU1nxLvlAUACOOKSEl57lciuhNwOG6adPPn
sBjxb1dmq5XAGFekHxfSDLWcaPZr1YvV9mXeIsGZo9240IhceYuEw4qmFkyk7QSe
g9kcf5Aovqf3NLZ7Mbv8uJd5W5iqrwd3LslBsPybt3ns4quF1t7fkElRZwrvPsK3
pjxtaURBk3M5CawtOw6BGFjalfBz+ocTaIqDD6wEkku/O0TEvuEZqT9UwoUVh5L8
2LA3s/YdxWCUaGKz4Qla
=4891
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe