Makefile 893 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
GRID_BUILDER_PATH=tools/grid_builder
MINPSC_PATH=tools/minpsc

all:
	make build

rebuild:
	rm -rf $(GRID_BUILDER_PATH)/CMakeCache.txt
	rm -rf $(GRID_BUILDER_PATH)/CMakeFiles
	rm -rf $(GRID_BUILDER_PATH)/cmake_install.cmake
	
	rm -rf $(MINPSC_PATH)/CMakeCache.txt
	rm -rf $(MINPSC_PATH)/CMakeFiles
	rm -rf $(MINPSC_PATH)/cmake_install.cmake
	
	make build

Pavel Smirnov's avatar
Pavel Smirnov committed
18
build: minpsc
19 20 21 22 23 24 25 26 27 28

grid_builder:
	cmake -B'$(GRID_BUILDER_PATH)' -H'$(GRID_BUILDER_PATH)'
	make -C $(GRID_BUILDER_PATH)

minpsc:
	cmake -B'$(MINPSC_PATH)' -H'$(MINPSC_PATH)'
	make -C $(MINPSC_PATH)

test:
Pavel Smirnov's avatar
Pavel Smirnov committed
29 30 31 32
	# make clean
	python pylib/test.py 2 10 100 10 10 15 16
	python pylib/test.py 3 10 100 10 10 15 16
	python pylib/test.py 4 10 100 10 10 15 16
33 34 35
	python pylib/analyze.py 2
	python pylib/analyze.py 3
	python pylib/analyze.py 4
Pavel Smirnov's avatar
Pavel Smirnov committed
36 37 38
	python pylib/transpose.py 2
	python pylib/transpose.py 3
	python pylib/transpose.py 4
39 40

clean:
41
	rm -rf results/*