David Blume commited on 2016-10-15 16:50:32
Showing 3 changed files, with 14 additions and 1 deletions.
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
SUBDIRS=my_lib product |
2 | 2 |
LIBDIR=lib |
3 | 3 |
|
4 |
-.PHONY: clean subdirs $(SUBDIRS) |
|
4 |
+.PHONY: clean debug subdirs $(SUBDIRS) |
|
5 | 5 |
|
6 | 6 |
subdirs: $(SUBDIRS) |
7 | 7 |
|
... | ... |
@@ -10,6 +10,11 @@ $(SUBDIRS): |
10 | 10 |
|
11 | 11 |
all: $(LIBDIR) subdirs |
12 | 12 |
|
13 |
+debug: |
|
14 |
+ for dir in $(SUBDIRS); do \ |
|
15 |
+ $(MAKE) -C $$dir debug; \ |
|
16 |
+ done |
|
17 |
+ |
|
13 | 18 |
product: my_lib |
14 | 19 |
|
15 | 20 |
$(LIBDIR): |