Skip to content

Commit

Permalink
slight makefile updates
Browse files Browse the repository at this point in the history
including a better detection of Windows that doesn't make any
assumptions about letter case in environment variable names
  • Loading branch information
devinacker committed Nov 22, 2016
1 parent bee0e36 commit 68e45c3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion bsnes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ endif

plugins: build
@$(MAKE) -C ../snesreader
# @$(MAKE) -C ../snesfilter
ifneq ($(platform), osx)
@$(MAKE) -C ../snesfilter
endif
@$(MAKE) -C ../supergameboy
ifeq ($(platform),osx)
mkdir -p $(osxbundle)/Contents/Frameworks
Expand Down
2 changes: 1 addition & 1 deletion bsnes/nall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ifeq ($(platform),)
uname := $(shell uname -a)
ifdef SystemRoot
ifeq ($(OS),Windows_NT)
platform := win
delete = del $(subst /,\,$1)
else ifneq ($(findstring Darwin,$(uname)),)
Expand Down
2 changes: 1 addition & 1 deletion snesfilter/nall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ifeq ($(platform),)
uname := $(shell uname -a)
ifdef SystemRoot
ifeq ($(OS),Windows_NT)
platform := win
delete = del $(subst /,\,$1)
else ifneq ($(findstring Darwin,$(uname)),)
Expand Down
2 changes: 1 addition & 1 deletion snesreader/nall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ifeq ($(platform),)
uname := $(shell uname -a)
ifdef SystemRoot
ifeq ($(OS),Windows_NT)
platform := win
delete = del $(subst /,\,$1)
else ifneq ($(findstring Darwin,$(uname)),)
Expand Down
2 changes: 1 addition & 1 deletion supergameboy/nall/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ifeq ($(platform),)
uname := $(shell uname -a)
ifdef SystemRoot
ifeq ($(OS),Windows_NT)
platform := win
delete = del $(subst /,\,$1)
else ifneq ($(findstring Darwin,$(uname)),)
Expand Down

0 comments on commit 68e45c3

Please sign in to comment.