1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
3 # Copyright (c) 2018 Intel Corporation
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 GOPATH := $(shell realpath "$(PWD)/../../")
19 @go build -tags netgo -o ./bin/hdfs-writer ./cmd/main.go
23 @go build -tags netgo -o ./bin/hdfs-writer ./cmd/main.go
28 @find . -name "*so" -delete
29 @rm -f ./bin/hdfs-writer