xs/Makefile

29 lines
455 B
Makefile
Raw Normal View History

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
cd hkexsh; go build .; cd -
2018-05-26 22:54:54 +00:00
ifneq (MSYSTEM,)
server: lib
@echo "hkexshd server not supported on Windows (yet)"
else
2018-04-04 15:51:03 +00:00
server: lib
cd hkexshd; go build .; cd -
2018-05-26 22:54:54 +00:00
endif
2018-04-04 15:51:03 +00:00
passwd: lib
cd hkexpasswd; go build .; cd -