mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
29 lines
404 B
Makefile
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
|
|
|