We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43dc816 commit d628db3Copy full SHA for d628db3
Makefile
@@ -12,8 +12,12 @@ SHELL=bash
12
#-------------------------------------------------------------------------------
13
# XILINX ISE
14
15
-.ISE_BIN=/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64
16
-#.ISE_BIN=/cygdrive/c/Xilinx/14.7/ISE_DS/ISE/bin/nt
+.OS:=$(shell uname)
+ifeq ($(.OS), Linux)
17
+ .ISE_BIN=/opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64
18
+else
19
+ .ISE_BIN=/cygdrive/c/Xilinx/14.7/ISE_DS/ISE/bin/nt
20
+endif
21
.PROJECT_NAME=Uname
22
.TOPE_V=tope
23
.FPGA=xc3s200-ft256-4
0 commit comments