18 lines
410 B
Makefile
18 lines
410 B
Makefile
|
SOURCES := $(shell find src/main/nim -name "*.nim")
|
||
|
|
||
|
wdiwtlt.exe: $(SOURCES)
|
||
|
nimble build -d:mingw --cpu:amd64
|
||
|
|
||
|
.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
|