diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-02-05 17:21:39 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2022-02-05 17:21:39 +0300 |
commit | 24579b32d35ff64842ad6e5b81059c59c0a5e0e1 (patch) | |
tree | 055a3030ec9b46dad41fe388c97a7c980c7d991b | |
parent | 6fe1caa45d8beac006a7a0ad182f187c92d118fa (diff) |
Fix fow Windows
-rw-r--r-- | source/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile index a96ca59..cdc6ba7 100644 --- a/source/Makefile +++ b/source/Makefile @@ -15,7 +15,11 @@ EXEDIR ?= .. PREFIX ?= /usr BINDIR ?= $(PREFIX)/bin -PROGRAM ?= nesasm +ifeq ($(OS),Windows_NT) + PROGRAM = $(EXEDIR)/nesasm.exe +else + PROGRAM = $(EXEDIR)/nesasm +endif ifeq ($(COMMIT),) COMMIT = $(shell git rev-parse --short HEAD) |