mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
make: fix building v with msys2's make.exe on windows
This commit is contained in:
parent
78c885d657
commit
8373ece209
2
Makefile
2
Makefile
@ -45,7 +45,7 @@ endif
|
|||||||
|
|
||||||
all: latest_vc latest_tcc
|
all: latest_vc latest_tcc
|
||||||
ifdef WIN32
|
ifdef WIN32
|
||||||
$(CC) $(CFLAGS) -std=c99 -municode -w -o v2.exe $(TMPVC)/$(VCFILE) $(LDFLAGS)
|
$(CC) $(CFLAGS) -std=c99 -municode -w -o v.exe $(TMPVC)/$(VCFILE) $(LDFLAGS)
|
||||||
./v.exe self
|
./v.exe self
|
||||||
else
|
else
|
||||||
$(CC) $(CFLAGS) -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm
|
$(CC) $(CFLAGS) -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user