aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-12-06 12:05:40 -0500
committerDeterminant <[email protected]>2019-12-06 12:05:40 -0500
commit22f7dcda45ed4f7753ac56150d73763857013fea (patch)
tree2f1a80312b70712c3e6bc114c0e359c2567da098 /scripts/Makefile
parent3d969c1966fa654ed2231e7a383ef4cb4a5d4d2c (diff)
clean up Makefile
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 6cabb03..b776e65 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -4,20 +4,16 @@
all: build/test_msgnet build/test_p2p_stress build/test_msgnet_tls build/bench_network
-build/libsalticidae.a: build
- rm -f $@
- ln -sv "${GOPATH}/src/github.com/Determinant/salticidae-go/salticidae/libsalticidae.a" $@
-
build:
mkdir -p build
-build/test_msgnet: build/libsalticidae.a test_msgnet/main.go
+build/test_msgnet: build/lib/libsalticidae.a test_msgnet/main.go
go build -o $@ github.com/Determinant/salticidae-go/test_msgnet
-build/test_msgnet_tls: build/libsalticidae.a test_msgnet_tls/main.go
+build/test_msgnet_tls: build/lib/libsalticidae.a test_msgnet_tls/main.go
go build -o $@ github.com/Determinant/salticidae-go/test_msgnet_tls
-build/test_p2p_stress: build/libsalticidae.a test_p2p_stress/main.go
+build/test_p2p_stress: build/lib/libsalticidae.a test_p2p_stress/main.go
go build -o $@ github.com/Determinant/salticidae-go/test_p2p_stress
-build/bench_network: build/libsalticidae.a bench_network/main.go
+build/bench_network: build/lib/libsalticidae.a bench_network/main.go
go build -o $@ github.com/Determinant/salticidae-go/bench_network
clean: