diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-13 10:36:21 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-13 10:36:21 +0200 |
| commit | 94179a7963cfdcd1c61b3630a05dadbdd6a72b02 (patch) | |
| tree | 356c35e219fb10577419dfbfae1b13e2459a000a /Makefile | |
| parent | c66010e29c49bc1a7e955dfd07ec2a5ad506bfc6 (diff) | |
move program code to internal package - only leave cmd wrapper in ./cmd
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
