mirror of
https://github.com/pret/pokeheartgold.git
synced 2025-01-22 12:55:19 +00:00
30 lines
334 B
Makefile
30 lines
334 B
Makefile
|
|
||
|
WSLENV ?= no
|
||
|
ifeq ($(WSLENV),)
|
||
|
NOWINE = 1
|
||
|
else
|
||
|
NOWINE = 0
|
||
|
endif
|
||
|
|
||
|
ifeq ($(OS),Windows_NT)
|
||
|
EXE := .exe
|
||
|
WINE :=
|
||
|
GREP := grep -P
|
||
|
SED := sed -r
|
||
|
else
|
||
|
EXE :=
|
||
|
WINE := wine
|
||
|
UNAME_S := $(shell uname -s)
|
||
|
ifeq ($(UNAME_S),Darwin)
|
||
|
GREP := grep -E
|
||
|
SED := perl -p -e
|
||
|
else
|
||
|
GREP := grep -P
|
||
|
SED := sed -r
|
||
|
endif
|
||
|
endif
|
||
|
|
||
|
ifeq ($(NOWINE),1)
|
||
|
WINE :=
|
||
|
endif
|