Fixes to previous Makefile conditionals

This commit is contained in:
Russ Magee 2018-05-26 16:31:43 -07:00
parent 1a707efeb8
commit ffacd42baf
1 changed files with 10 additions and 4 deletions

View File

@ -13,16 +13,22 @@ lib:
go install . go install .
client: lib client: lib
cd hkexsh; go build .; cd - @cd hkexsh
go build .
@cd -
ifneq (MSYSTEM,) ifneq ($(MSYSTEM),)
server: lib server: lib
@echo "hkexshd server not supported on Windows (yet)" @echo "hkexshd server not supported on Windows (yet)"
else else
server: lib server: lib
cd hkexshd; go build .; cd - @cd hkexshd
go build .
@cd -
endif endif
passwd: lib passwd: lib
cd hkexpasswd; go build .; cd - @cd hkexpasswd
@go build .
@cd -