16 lines
321 B
Makefile
16 lines
321 B
Makefile
APP_DIR := ./app
|
|
OUTPUT := ./uxr
|
|
TAGS := xreal noaudio drm drm_leasing drm_disable_input
|
|
|
|
.PHONY: all build clean
|
|
|
|
all: build
|
|
|
|
build:
|
|
cd $(APP_DIR) && go build -v -tags '$(TAGS)' -o ../$(OUTPUT) .
|
|
|
|
dev:
|
|
cd $(APP_DIR) && go build -v -tags 'noaudio dummy_ar fake_edid_patching' -o ../$(OUTPUT) .
|
|
|
|
clean:
|
|
rm -f $(OUTPUT)
|