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:
parent
eb33ec116e
commit
77792a82a6
10 changed files with 44 additions and 9 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue