build: Add a common-clean target
Clean up in a more common fashion as well, initially for ../src/. Also add $(Q) to the clean target in src/ Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
06a6adb54e
commit
0430bc8267
10 changed files with 26 additions and 23 deletions
|
@ -81,8 +81,7 @@ wlantest_cli: $(OBJS_cli) $(OWN_LIBS)
|
|||
test_vectors: $(TOBJS) $(OWN_LIBS)
|
||||
$(LDO) $(LDFLAGS) -o test_vectors $(TOBJS) $(OWN_LIBS) $(LIBS)
|
||||
|
||||
clean:
|
||||
$(MAKE) -C ../src clean
|
||||
rm -f core *~ *.o *.d $(ALL)
|
||||
clean: common-clean
|
||||
rm -f core *~ *.o *.d
|
||||
|
||||
-include $(OBJS:%.o=%.d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue