From 94179a7963cfdcd1c61b3630a05dadbdd6a72b02 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 13 Feb 2024 10:36:21 +0200 Subject: move program code to internal package - only leave cmd wrapper in ./cmd --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d336e2f..c2c7bad 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ bpfbuild: .PHONY: gobuild gobuild: - echo 'package main' > internal/opids.go + echo 'package internal' > internal/opids.go echo >> internal/opids.go sed -E 's/#define (.*) ([0-9]+)/const \1 = \2/' opids.h >> internal/opids.go go build -tags netgo -ldflags '-w -extldflags "-static"' -o ioriotng ./cmd/ioriotng/main.go -- cgit v1.2.3