Skip to content

Commit 0e3cb93

Browse files
committed
Trying exporting PATH so windows can find cc
1 parent 18a71fd commit 0e3cb93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ $(info ${SHELL})
55
$(info ${PATH})
66
$(info $(shell which gcc))
77
$(info $(shell which cc))
8-
CC="cc"
98

109
# Where to install.
1110
prefix ?= /usr/local
@@ -23,7 +22,7 @@ debug : all
2322

2423
flex := flex
2524
ifeq (${OS},Windows_NT)
26-
PATH := ${PATH}:"/c/Program Files/Git/usr/bin"
25+
export PATH := ${PATH}:"/c/Program Files/Git/usr/bin"
2726
$(info which ${CC})
2827
flex := win_flex
2928
endif

0 commit comments

Comments
 (0)