Automake to compile objects in a specific directory
Hi,
How could I get automake to compile object in an object directory, and not in the source folder?
Here is what I have so far:
|-- configure.ac |-- include | |-- header1.h | |-- header2.h | `-- Makefile.am |-- Makefile.am |-- obj | `-- `-- src |-- Makefile.am |-- main.cc |-- snd.cc |-- Makefile.am `-- USBdiscovery.cc
I've read things about "AUTOMAKE_OPTIONS = subdir-objects" (to include in a Makefile.am?) but I don't know how to tell that I want my .o files in obj/.