Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/nesasm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/Makefile')
-rw-r--r--source/Makefile6
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)