* make all now makes examples too
This commit is contained in:
parent
4070bd2110
commit
b6d3df1c28
9
Makefile
9
Makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY: all clean test
|
||||
.PHONY: all clean library examples test
|
||||
|
||||
TARGET = \
|
||||
embedded_stm32f4 \
|
||||
|
@ -9,7 +9,9 @@ TARGET = \
|
|||
|
||||
LIBRARY_TARGET = $(TARGET:%=%_library)
|
||||
|
||||
all: $(LIBRARY_TARGET)
|
||||
all: library examples
|
||||
|
||||
library: $(LIBRARY_TARGET)
|
||||
|
||||
$(LIBRARY_TARGET):
|
||||
gprbuild $@.gpr
|
||||
|
@ -19,6 +21,9 @@ clean: $(LIBRARY_TARGET:%=%-clean)
|
|||
%-clean:
|
||||
gprclean $*.gpr
|
||||
|
||||
examples:
|
||||
cd examples; make all
|
||||
|
||||
test:
|
||||
echo $(TARGET)
|
||||
echo $(LIBRARY_TARGET)
|
Loading…
Reference in New Issue