From 4b4511dfe90e398afa9f0501084cb1373ca967cc Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 18 Aug 2015 15:56:16 -0600 Subject: variablize CXX and PYTHON and add -L and -I --- icebox/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'icebox/Makefile') diff --git a/icebox/Makefile b/icebox/Makefile index cc78073..f611cce 100644 --- a/icebox/Makefile +++ b/icebox/Makefile @@ -3,11 +3,11 @@ DESTDIR = /usr/local all: chipdb-1k.txt chipdb-8k.txt chipdb-1k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python2 icebox_chipdb.py > chipdb-1k.new + $(PYTHON) icebox_chipdb.py > chipdb-1k.new mv chipdb-1k.new chipdb-1k.txt chipdb-8k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python2 icebox_chipdb.py -8 > chipdb-8k.new + $(PYTHON) icebox_chipdb.py -8 > chipdb-8k.new mv chipdb-8k.new chipdb-8k.txt clean: -- cgit v1.2.3 From 55a46367881e17b05bd64d9f44b30bf6623b5e37 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 18 Aug 2015 16:02:57 -0600 Subject: set PYTHON in subdir --- icebox/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'icebox/Makefile') diff --git a/icebox/Makefile b/icebox/Makefile index f611cce..cd92235 100644 --- a/icebox/Makefile +++ b/icebox/Makefile @@ -1,3 +1,4 @@ +PYTHON ?= python2 DESTDIR = /usr/local all: chipdb-1k.txt chipdb-8k.txt -- cgit v1.2.3