mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
28 lines
455 B
Makefile
28 lines
455 B
Makefile
.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 -
|
|
|
|
ifneq (MSYSTEM,)
|
|
server: lib
|
|
@echo "hkexshd server not supported on Windows (yet)"
|
|
else
|
|
server: lib
|
|
cd hkexshd; go build .; cd -
|
|
endif
|
|
|
|
passwd: lib
|
|
cd hkexpasswd; go build .; cd -
|
|
|