Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 35 lines (26 sloc) 0.591 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
BUILD?=config.build
INSTALL?=config.install
SCONS?=scons
TESTS?=./tests
OPTFLAGS?=
PREFIX?=/usr/local

$(BUILD):
echo -n "$(SCONS) --flags=\"$(OPTFLAGS)\" --prefix=\"$(PREFIX)\"" > $(BUILD)
sh $(BUILD)

build: $(BUILD)

install: $(BUILD)
cp -f $(BUILD) $(INSTALL)
echo -n " --install" >> $(INSTALL)
sh $(INSTALL)

devel:
$(SCONS) --flags="$(OPTFLAGS)" --with-devel

test:
$(TESTS)/run-unit

test-integration: tyrion
$(TESTS)/run-integration

test-all: test test-integration

clean:
$(SCONS) -c
rm -f config.*
find . -name \*.o -type f -delete
find . -name \*.pyc -type f -delete
Something went wrong with that request. Please try again.