Mathieu Maret
c97ae01460
make:Add some env check
2019-12-17 17:20:39 +01:00
Mathieu Maret
ebc4b66f5a
make: fix shell calling for pkg-config
2017-10-02 14:22:22 +02:00
Mathieu Maret
40ba6e51c9
Makefile:CROSS_COMPILE support
2017-07-04 14:12:39 +02:00
Mathieu Maret
023c2ae85b
Makefile: add all rule
2017-06-12 15:25:31 +02:00
Mathieu Maret
966a1e12f6
Makefile: add shared lib
2017-06-12 15:18:51 +02:00
Mathieu Maret
3fcfdb6720
Makefile: C++ compilation
2017-06-12 14:56:49 +02:00
Mathieu Maret
3f6fd7ddb0
Makefile: Add exemple for including external lib
2017-06-12 14:34:04 +02:00
Mathieu Maret
b0541348aa
Makefile: simplification and improvment
...
Default target is the main program.
Use implicit rule for main program.
Generate .d file at compilation time instead of using specific rules
Fix CFLAGS CPPFLAGS usage
2017-06-12 14:29:01 +02:00
5f29edd6cc
Correct Makefile flags
...
Implicit C compilation use CPPFLAGS (https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html )
The real flag for error checking is Werror
2016-10-11 23:54:51 +02:00
Mathieu Maret
d212b6089d
Add Makefile example
...
This makefile check file dependecies (.h)
Idea from
5c644cfd35/Makefile
2016-10-05 16:03:11 +02:00