2012/5/9 Peter Stuge <pe...@stuge.se>:
> Ludovic Rousseau wrote:
>> From 2b8bfea15f8874245635bc5e5b257e808a2c7a2a Mon Sep 17 00:00:00 2001
>> From: Ludovic Rousseau <ludovic.rouss...@gmail.com>
>> Date: Wed, 9 May 2012 09:13:41 +0200
>> Subject: [PATCH 2/2] examples: Use the implicit _SOURCES rule
>>
>> By default automake looks for a source file foo.c for a foo binary.
>> ---
>
> Nice! Do you know if this was always so for automake or if it's a new
> thing?

I don't know if it was "always" the case but it should be very old. I
would guess as old as make itself.

If you have a foobar.c source file you can just use 'make foobar' to
build it. No Makefile is even needed.
Make will also look for foobar.cpp and other possible source files
extensions. And it is not limited to C or C++.

Bye

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to