mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
30 lines
458 B
Makefile
30 lines
458 B
Makefile
.PHONY: info clean lib client server passwd
|
|
|
|
SUBDIRS = hkexnet herradurakex hkexpasswd hkexsh hkexshd
|
|
LIBS = hkexnet herradurakex
|
|
|
|
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
|
|
|