fix: adjustment directory structure

This commit is contained in:
zhangsz committed 2025-03-25 09:46:16 +08:00
1 parent e9b29a109d
commit 63ec6e5b14
167 files changed
+374 -21127

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
# Makefile for rest agent project
PROJECT = restproxy_go
VERSION = 2.2502.3
PLATFORM = amd64
# ARMPLATFORM = aarch64
# BUILDDIR = ../../build
# DEBBUILDDIR = ../../debbuild
# RPMBUILDDIR = $(HOME)/goprojects/rpmbuild
# INSTALLDIR = /usr/local/omc
# RELEASEDIR = ../../release
# LIBDIR = be.ems/lib
BINDIR = ../bin
BINNAME = $(BINDIR)/restproxy_go
.PHONY: build $(BINNAME)
build $(BINNAME):
go build -o $(BINNAME) -v -ldflags "-s -w -X '$(LIBDIR)/global.Version=$(VERSION)' \
-X '$(LIBDIR)/global.BuildTime=`date`' \
-X '$(LIBDIR)/global.GoVer=`go version`'"
run: $(BINNAME)
./$(BINNAME)
clean:
rm ./$(BINNAME)