Web lists-archives.com

Re: [Mingw-users] object not compiling




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

On 30/05/16 13:40, Lee Shallis wrote:
> The lines that should match it is this $(version): TARGET_OBJECTS+=
> $(O)$@.o

So, with this you create a target-specific variable assignment, which
you then go on to use incorrectly; specifically, it will be
interpreted *only* within the *commands* section of the associated
build rule, but

> $(version): paths $(TARGET_OBJECTS); $(COMPILE_BIN) "$($@_OUT)"

here, you are asking for $(TARGET_OBJECTS) to be interpreted, as a
target-specific variable, within the *prerequisites* for the rule;
this is *not* within the commands, so this simply will not work as you
want it to.

- -- 
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)

iQIcBAEBAgAGBQJXTFQiAAoJEMCtNsY0flo/U00P/3BaCrlZZSS/o/EaPD1jJ5rB
SdVOmAG48xlhc4rIqRSvxaOaoUNbCkVwtBlWmdATdYYCVxJWZSB6HMJU0AW/hKLg
E4pTNAxLL0IzMyNf5Sc2pRmX6Fvb4sJHNV4M+Jlc9D32kxNIa9MtTc9gCYoc/G7U
hFW4ASFdBI8XEWKcoHStH8TbHrXd/bb3qlvaDpFijuMr2YvFO49N+bWem7/KIdzj
LMmkNyzPPLCZSgGv4MAZ9lDLtO0mkJg8/x/tEOSPA3PENTRratVbN3peUjWZZRxi
Ni+5BXz2qx93JGdMBcqlT8YwtRyMXtJc2J7Srnt9JyHyAid6ww713z8pqYVtWjoY
MYWjIptSMpMaBUzS2qhaR7Omd4SIXubr0a4+yv64i0NIeXfspd/8EWzpPBg8p4fp
/cvEmM7RN9CmjwWoVterYeM9ooXHdP0OW/rgn3xZDwp1l1rZ5RAP1lkKd3HgW46f
XKX82uqdo8KOsXIcMSK61Vj12yO5nf1uP0yGacPR7AOExSW9iMCuRjkqCwEb4xur
mtX9jz1eeKjXubGGJ9DCkT1+MNmzOR5bIq+EKrB8p5SyhyJKl8PArs2zINhVK+y6
1/dMzmEHNcTXNNi4O6UCwjhSISSCA/PCpgMIbvGZEjRD7pu+gqu4ANzWFnVpUpOj
+1Ej1mmvyjz/2pCzg8Yi
=q6S8
-----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