From 24579b32d35ff64842ad6e5b81059c59c0a5e0e1 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Sat, 5 Feb 2022 17:21:39 +0300 Subject: Fix fow Windows --- source/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3