xs/Makefile
2018-05-26 23:42:43 -07:00

29 lines
404 B
Makefile

.PHONY: clean lib client server passwd
SUBDIRS = hkexpasswd hkexsh hkexshd
all: lib client server passwd
clean:
go clean .
for d in $(SUBDIRS); do\
$(MAKE) -C $$d clean;\
done
lib:
go install .
client: lib
$(MAKE) -C hkexsh
ifneq ($(MSYSTEM),)
server: lib
echo "hkexshd server not supported on Windows (yet)"
else
server: lib
$(MAKE) -C hkexshd
endif
passwd: lib
$(MAKE) -C hkexpasswd