From 85a82310f73ddf212c297505248a59e0898b1204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 5 May 2015 17:41:23 +0200 Subject: Replace minisat with picosat Picosat is distributed with this project. --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 906a187..ce3c188 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux distclean_linux distclean_buildroot distclean +.PHONY: all help parse_kconfig write_config build run test clean clean_linux clean_buildroot mlinux mbuildroot deflinux distclean_linux distclean_buildroot distclean picosat -include .conf.mk BENCHMARK_FILES := $(patsubst benchmark/%,scripts/buildroot/system/skeleton/usr/share/benchmark/%,$(shell find benchmark -type f)) BENCHMARK_FOLDERS := $(shell dirname $(BENCHMARK_FILES)) -all: parse_kconfig write_config +all: parse_kconfig write_config picosat help: @echo "all - Builds basic programs and prints message about next steps." @@ -44,15 +44,16 @@ deflinux: test: $(INITRAM) parse_kconfig scripts/test.py -run: parse_kconfig write_config $(INITRAM) +run: parse_kconfig write_config picosat $(INITRAM) scripts/loop.py evaluate: @ #TODO clean: - @$(MAKE) -C scripts/parse_kconfig/ clean - @$(MAKE) -C scripts/write_config/ clean + @$(MAKE) -C scripts/parse_kconfig clean + @$(MAKE) -C scripts/write_config clean + @if [ -e scripts/picosat-959/makefile ]; then $(MAKE) -C scripts/picosat-959 clean; fi $(RM) -r build $(RM) -r scripts/buildroot/system/skeleton/usr/share/benchmark $(RM) $(INITRAM) @@ -107,3 +108,8 @@ scripts/buildroot/system/skeleton/usr/bin/linux-conf-perf: $(BENCHMARK_FILES): $(BENCHMARK_FOLDERS) scripts/buildroot/system/skeleton/usr/share/benchmark/%: benchmark/% cp $< $@ + +picosat: scripts/picosat-959/picosat +scripts/picosat-959/picosat: + cd scripts/picosat-959 && ./configure + $(MAKE) -C scripts/picosat-959 -- cgit v1.2.3