chore: Seperate Go modules into seperate directories

This is done to help potential dependents reduce download sizes and only
download what they need.
This commit is contained in:
Tera << 8 2025-06-26 18:57:29 -04:00
parent eb33ec116e
commit 77792a82a6
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
10 changed files with 44 additions and 9 deletions

View file

@ -1,5 +1,5 @@
APP_DIR := ./app
OUTPUT := uxr
OUTPUT := ./uxr
TAGS := xreal noaudio drm drm_leasing drm_disable_input
.PHONY: all build clean
@ -7,7 +7,7 @@ TAGS := xreal noaudio drm drm_leasing drm_disable_input
all: build
build:
go build -v -tags '$(TAGS)' -o $(OUTPUT) $(APP_DIR)
cd $(APP_DIR) && go build -v -tags '$(TAGS)' -o ../$(OUTPUT) .
clean:
rm -f $(OUTPUT)