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:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-02-05 17:21:39 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-02-05 17:21:39 +0300
commit24579b32d35ff64842ad6e5b81059c59c0a5e0e1 (patch)
tree055a3030ec9b46dad41fe388c97a7c980c7d991b
parent6fe1caa45d8beac006a7a0ad182f187c92d118fa (diff)
Fix fow Windows
-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)