Paul Menzel
75bfadb04e
linux/Makefile: Add spaces and lines for better readability
2011-08-26 18:08:45 -04:00
Paul Menzel
9b31061613
linux/Makefile: Add support for cross compilation
...
0. VDR`s `Makefile` was taken as a template [1].
1. Separate variables for flags for `CC` and `CXX` were introduced. `-c` is now passed explicitly. Further flags for `CXX` could be added like in VDR’s `Makefile`.
2. Separate variable `INCLUDES` defined which is only used for the libraries(?).
[1] http://git.gekrumbel.de/vdr.git?p=vdr.git;a=blob;f=Makefile;hb=bd61fee1e9328aec470c319494cccb90e53302c2
--
Please note that this is not build tested.
2011-08-26 18:08:45 -04:00
Paul Menzel
359138c8b6
linux/Makefile: Add $(LDFLAGS) to the linker calls
...
Some cross compiling frame works like OpenEmbedded [1] pass this variable along.
[1] http://www.openembedded.org/
2011-08-26 18:08:45 -04:00
Paul Menzel
ab3ba2e2a6
linux/Makefile: Do not override predefined CC or CXX
...
This is especially important for cross compilation.
2011-08-26 18:08:45 -04:00
Paul Menzel
ceb858109a
linux/Makefile: Use $(CXX) instead of g++
2011-08-26 18:08:45 -04:00
Ludovic Rousseau
49122c26d5
Append instead of overwrite CFLAGS
...
The user may have a custom CFLAGS with debug flags like -Wextra. These
flags should be used instead of overwritten
2011-01-07 10:17:39 -05:00
Ludovic Rousseau
02c55187a7
Use explicit file names
...
*.o does not match ../hidtest/hidtest.o so we must use an explicit list
of .o file names
2011-01-07 10:17:30 -05:00
Ludovic Rousseau
81382f21d8
Make "make clean" idempotent
...
Do not fail if the files to remove do not exist
2011-01-07 10:17:24 -05:00
Ludovic Rousseau
025d81a5a3
use pkg-config to find udev library
2010-11-21 16:18:09 -05:00
Ludovic Rousseau
b8ceae83b8
Do not ovewrite CFLAGS
...
Signed-off-by: Alan Ott <alan@signal11.us >
2010-10-08 22:07:13 -04:00
Alan Ott
28ab1e6ac1
Changed to use pkg-config
2010-08-17 22:50:31 -04:00
Alan Ott
461963e4b7
Libusb implementation for Linux.
2010-08-16 17:02:20 -04:00
Alan Ott
0782bc31f0
README and Makefile for Linux.
2010-07-03 15:26:16 -04:00