diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2014-07-31 12:29:36 -0700 |
---|---|---|
committer | Andrew Duggan <aduggan@synaptics.com> | 2014-07-31 12:29:36 -0700 |
commit | fc7d81c629d0b8b277b4b0311dcd50d02fc324fb (patch) | |
tree | 419c2712c28bf0556068b0a5ea8a0f08f4f25a5e | |
parent | 64f3a0c0192fb883513d949114cb2f8147a0af83 (diff) | |
download | platform_external_rmi4utils-fc7d81c629d0b8b277b4b0311dcd50d02fc324fb.tar.gz platform_external_rmi4utils-fc7d81c629d0b8b277b4b0311dcd50d02fc324fb.tar.bz2 platform_external_rmi4utils-fc7d81c629d0b8b277b4b0311dcd50d02fc324fb.zip |
allow inheriting compiler and tools if they are defined in the environment
-rw-r--r-- | rmi4update/Makefile | 2 | ||||
-rw-r--r-- | rmidevice/Makefile | 6 | ||||
-rw-r--r-- | rmihidtool/Makefile | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/rmi4update/Makefile b/rmi4update/Makefile index a0c5dd0..b8ce096 100644 --- a/rmi4update/Makefile +++ b/rmi4update/Makefile @@ -1,4 +1,4 @@ -CXX = g++ +CXX ?= g++ CPPFLAGS += -I../include -I./include -I../rmidevice CXXFLAGS += -Wall LDFLAGS += -L. diff --git a/rmidevice/Makefile b/rmidevice/Makefile index 0878669..35aec55 100644 --- a/rmidevice/Makefile +++ b/rmidevice/Makefile @@ -1,6 +1,6 @@ -CXX = g++ -AR = ar -RANLIB = ranlib +CXX ?= g++ +AR ?= ar +RANLIB ?= ranlib CPPFLAGS += -I../include -I./include CXXFLAGS += -fPIC -Wall RMIDEVICESRC = rmifunction.cpp rmidevice.cpp hiddevice.cpp diff --git a/rmihidtool/Makefile b/rmihidtool/Makefile index ca7834e..3553c99 100644 --- a/rmihidtool/Makefile +++ b/rmihidtool/Makefile @@ -1,4 +1,4 @@ -CXX = g++ +CXX ?= g++ CPPFLAGS += -I../include -I./include -I../rmidevice CXXFLAGS += -Wall LDFLAGS += -L. |