2022-10-17 03:43:24 +00:00
|
|
|
SOURCES := $(shell find src/main/nim -name "*.nim")
|
|
|
|
|
|
|
|
wdiwtlt.exe: $(SOURCES)
|
|
|
|
nimble build -d:mingw --cpu:amd64
|
|
|
|
|
2022-10-19 04:22:10 +00:00
|
|
|
.PHONY: install-win
|
|
|
|
install-win: wdiwtlt.exe
|
|
|
|
cp wdiwtlt.exe /home/jdb/winhome/programs/vlc-3.0.18
|
|
|
|
|
2022-10-17 03:43:24 +00:00
|
|
|
.PHONY: run-win
|
|
|
|
run-win: wdiwtlt.exe
|
|
|
|
cp wdiwtlt.exe /home/jdb/winhome/programs/vlc-3.0.18
|
|
|
|
/home/jdb/winhome/programs/vlc-3.0.18/wdiwtlt.exe
|
|
|
|
|
|
|
|
.PHONY: update-version
|
|
|
|
update-version:
|
|
|
|
update_nim_package_version wdiwtlt src/main/private/version.nim
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
test:
|
|
|
|
nim c -r src/test/nim/runner
|