mirror of
https://github.com/DualTachyon/uv-k5-firmware.git
synced 2024-12-15 09:49:55 +08:00
Windows detection in the makefile.
This commit is contained in:
parent
efa0368846
commit
4d5cb0c5d6
4
Makefile
4
Makefile
@ -68,7 +68,11 @@ OBJS += ui/welcome.o
|
|||||||
|
|
||||||
OBJS += main.o
|
OBJS += main.o
|
||||||
|
|
||||||
|
ifeq ($(OS),Windows_NT)
|
||||||
|
TOP := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
else
|
||||||
TOP := $(shell pwd)
|
TOP := $(shell pwd)
|
||||||
|
endif
|
||||||
|
|
||||||
AS = arm-none-eabi-as
|
AS = arm-none-eabi-as
|
||||||
CC = arm-none-eabi-gcc
|
CC = arm-none-eabi-gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user