2018-04-04 15:51:03 +00:00
|
|
|
.PHONY: clean lib client server passwd
|
|
|
|
|
|
|
|
all: lib client server passwd
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f\
|
|
|
|
hkexsh/hkexsh hkexsh/hkexsh.exe\
|
|
|
|
hkexshd/hkexshd hkexshd/hkexshd.exe\
|
|
|
|
hkexpasswd/hkexpasswd hkexpasswd/hkexpasswd.exe
|
|
|
|
|
|
|
|
|
|
|
|
lib:
|
|
|
|
go install .
|
|
|
|
|
|
|
|
client: lib
|
2018-05-26 23:31:43 +00:00
|
|
|
@cd hkexsh
|
|
|
|
go build .
|
|
|
|
@cd -
|
2018-04-04 15:51:03 +00:00
|
|
|
|
2018-05-26 23:31:43 +00:00
|
|
|
ifneq ($(MSYSTEM),)
|
2018-05-26 22:54:54 +00:00
|
|
|
server: lib
|
|
|
|
@echo "hkexshd server not supported on Windows (yet)"
|
|
|
|
else
|
2018-04-04 15:51:03 +00:00
|
|
|
server: lib
|
2018-05-26 23:31:43 +00:00
|
|
|
@cd hkexshd
|
|
|
|
go build .
|
|
|
|
@cd -
|
2018-05-26 22:54:54 +00:00
|
|
|
endif
|
2018-04-04 15:51:03 +00:00
|
|
|
|
|
|
|
passwd: lib
|
2018-05-26 23:31:43 +00:00
|
|
|
@cd hkexpasswd
|
|
|
|
@go build .
|
|
|
|
@cd -
|
2018-04-04 15:51:03 +00:00
|
|
|
|