fix makefile target all

This commit is contained in:
c9s 2021-02-19 10:18:03 +08:00
parent eaa8c647b5
commit fb7dcb3b39

View File

@ -15,8 +15,7 @@ OSX_APP_GUI ?= webview
FRONTEND_EXPORT_DIR = frontend/out FRONTEND_EXPORT_DIR = frontend/out
all: $(BIN_DIR) all: bbgo-linux bbgo-darwin
go build -tags web -o $(BIN_DIR)/$@ ./cmd/$@
$(BIN_DIR): $(BIN_DIR):
mkdir -p $@ mkdir -p $@