diff options
Diffstat (limited to 'source/Makefile')
-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) |