diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2015-03-26 14:43:39 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2015-03-26 14:43:39 +0100 |
commit | 726de20508b01f83219580d7902854e72ec293fd (patch) | |
tree | 4c045d22b1feefa0bee0d842a3800a34f0ad7a95 /makefile | |
parent | 323d87af33e89be3b2a33168aead228e37d71a55 (diff) |
Made CC and LD override possible (nw)
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -15,6 +15,16 @@ ################# BEGIN USER-CONFIGURABLE OPTIONS ##################### ########################################################################### +PARAMS=--distro=$(DISTRO) +ifdef TOOLS +PARAMS+= --with-tools +endif +ifdef CC +PARAMS+= --CC=$(CC) +endif +ifdef LD +PARAMS+= --LD=$(LD) +endif #------------------------------------------------- # specify core target: mame, mess, etc. @@ -232,11 +242,6 @@ GENIE=3rdparty/genie/bin/$(OS)/genie SILENT?=@ -PARAMS=--distro=$(DISTRO) -ifdef TOOLS -PARAMS+= --with-tools -endif - all: $(GENIE) $(TARGETOS)_$(ARCHITECTURE) windows_x64: generate |