Improve makefiles

Added the use of the $(MAKE) variable to support 'gnumake'.
Fixed an issue with some make compile rule and the -o option.
All targets are removed from the build directory when running 'make clean'.
This commit is contained in:
Micha Hoiting
2012-11-05 16:47:55 +01:00
parent 82c6df459c
commit f0ea84ce35
5 changed files with 18 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
all:
cd embedded_ui; make all
cd driver_testing; make all
cd embedded_ui; $(MAKE) all
cd driver_testing; $(MAKE) all
clean:
cd embedded_ui; make clean
cd driver_testing; make clean
cd embedded_ui; $(MAKE) clean
cd driver_testing; $(MAKE) clean