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

github.com/ClusterM/clujtag-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2015-01-05 03:44:30 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2015-01-05 03:44:30 +0300
commit9020a8aa8db94e6c22175cabd7ecebc14091dcba (patch)
treed49227f05bace53ba33370e3a7df3d27945c091b
parent6603ca8c6e09171e6f04761c686945b9344c93ea (diff)
Makefile fix
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cfd46f..1c637d3 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,11 @@ CFLAGS=-c -Wall -O2
LDFLAGS=
SOURCES=clujtag.c xsvf.c svf.c play.c memname.c scan.c statename.c tap.c
OBJECTS=$(SOURCES:.c=.o)
-EXECUTABLE=clujtag.exe
+ifeq ($(OS),Windows_NT)
+ EXECUTABLE=clujtag.exe
+else
+ EXECUTABLE=clujtag
+endif
all: $(SOURCES) $(EXECUTABLE)