]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - Makefile
rdma: Fix incorrectly handled NLA validation
[mirror_iproute2.git] / Makefile
index 651d2a5061bad5b1f48e0a9985119b7218bfc5cd..20c760e24c9434c9f69d2093efab99657cfe0d4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,19 @@ all: config.mk
        for i in $(SUBDIRS); \
        do echo; echo $$i; $(MAKE) $(MFLAGS) -C $$i; done
 
+help:
+       @echo "Make Targets:"
+       @echo " all                 - build binaries"
+       @echo " clean               - remove products of build"
+       @echo " distclean           - remove configuration and build"
+       @echo " install             - install binaries on local machine"
+       @echo " check               - run tests"
+       @echo " cscope              - build cscope database"
+       @echo " snapshot            - generate version number header"
+       @echo ""
+       @echo "Make Arguments:"
+       @echo " V=[0|1]             - set build verbosity level"
+
 config.mk:
        sh configure $(KERNEL_INCLUDE)
 
@@ -96,7 +109,7 @@ snapshot:
                > include/SNAPSHOT.h
 
 clean:
-       @for i in $(SUBDIRS); \
+       @for i in $(SUBDIRS) testsuite; \
        do $(MAKE) $(MFLAGS) -C $$i clean; done
 
 clobber:
@@ -106,6 +119,9 @@ clobber:
 
 distclean: clobber
 
+check: all
+       cd testsuite && $(MAKE) && $(MAKE) alltests
+
 cscope:
        cscope -b -q -R -Iinclude -sip -slib -smisc -snetem -stc