]> ruderich.org/simon Gitweb - nsscash/nsscash.git/commitdiff
Makefile: run all and clean in nss/ as well
authorSimon Ruderich <simon@ruderich.org>
Sat, 8 Jun 2019 13:57:23 +0000 (15:57 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 8 Jun 2019 13:57:23 +0000 (15:57 +0200)
This way a single `make all` builds the whole project.

Makefile

index 725985d8a242aea82a861abb27d76e30a0dbdaea..b76c74eefedbe023ba923c4f027a473fd7ea60b8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,11 @@ all:
        go vet ./...
        go build
        go test ./...
        go vet ./...
        go build
        go test ./...
+       $(MAKE) --no-print-directory -C nss all
 
 clean:
        rm -f nsscash filetype_string.go
 
 clean:
        rm -f nsscash filetype_string.go
+       $(MAKE) --no-print-directory -C nss clean
 
 test:
        go build # we need ./nsscash
 
 test:
        go build # we need ./nsscash