Skip to content

Commit

Permalink
tarball: add ECERE_SDK_INSTALL_DIR install option.
Browse files Browse the repository at this point in the history
  • Loading branch information
redj committed Aug 15, 2019
1 parent a780fb4 commit 34e47b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ SOV := $(SO)

ifndef DESTDIR

ifndef ECERE_SDK_INSTALL_DIR

ifeq ($(TARGET_ARCH),x86_64)
ifneq ($(wildcard $(SystemDrive)/Program\ Files ),)
export DESTDIR=$(SystemDrive)/Program Files/Ecere SDK
Expand All @@ -72,6 +74,10 @@ else
endif
endif

else
export DESTDIR=$(ECERE_SDK_INSTALL_DIR)
endif # ECERE_SDK_INSTALL_DIR

endif # DESTDIR

export prefix=
Expand Down

0 comments on commit 34e47b1

Please sign in to comment.