diff options
| author | EuAndreh <eu@euandre.org> | 2024-08-10 15:46:53 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-08-10 15:46:53 -0300 |
| commit | 1294ff45d8a54c6b5a5f633e9f5ccc91ab202508 (patch) | |
| tree | f757aa41ae94cfb89c144f2bc6c8246484f3b724 /Makefile | |
| parent | Build with "go tool" AND import code from deps (diff) | |
| download | wscat-1294ff45d8a54c6b5a5f633e9f5ccc91ab202508.tar.gz wscat-1294ff45d8a54c6b5a5f633e9f5ccc91ab202508.tar.xz | |
Remove unnecessary SOCKS5 support
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -32,8 +32,6 @@ include deps.mk objects = \ src/$(NAME).a \ - src/proxy.a \ - src/socks.a \ src/main.a \ tests/$(NAME).a \ tests/main.a \ @@ -61,15 +59,11 @@ all: $(derived-assets) $(objects): Makefile -src/$(NAME).a: src/$(NAME).go src/proxy.a -src/proxy.a: src/proxy.go src/socks.a -src/socks.a: src/socks.go -src/$(NAME).a src/proxy.a src/socks.a: - go tool compile $(GOCFLAGS) -o $@ -p $(*F) -I src $*.go +src/$(NAME).a: src/$(NAME).go + go tool compile $(GOCFLAGS) -o $@ -p $(*F) $*.go -tests/$(NAME).a: tests/$(NAME).go src/$(NAME).go src/proxy.a -tests/$(NAME).a: - go tool compile $(GOCFLAGS) -o $@ -p $(*F) -I src $*.go src/$(*F).go +tests/$(NAME).a: tests/$(NAME).go src/$(NAME).go + go tool compile $(GOCFLAGS) -o $@ -p $(*F) $*.go src/$(*F).go src/main.a: src/main.go src/$(NAME).a tests/main.a: tests/main.go tests/$(NAME).a @@ -79,7 +73,7 @@ src/main.a tests/main.a: src/main.bin: src/main.a tests/main.bin: tests/main.a src/main.bin tests/main.bin: - go tool link $(GOLDFLAGS) -o $@ -L $(@D) -L src $*.a + go tool link $(GOLDFLAGS) -o $@ -L $(@D) $*.a $(NAME).bin: src/main.bin ln -fs $? $@ |
