blob: 9341abbbd9da2429c364289e3ef71ac199efa1fa [file] [log] [blame]
# If you have runtime memory issues, disable tcmalloc: add -DNO_TCMALLOC to the make line
release:
mkdir -p build/tests;
mkdir -p build/dist;
mkdir -p dist;
cd build; cmake ../ -DCMAKE_BUILD_TYPE=Release
$(MAKE) -C build
cd build; ../tests/regression.tcl mt=0 show_diff
debug:
mkdir -p dbuild/tests;
mkdir -p dbuild/dist;
mkdir -p dist;
cd dbuild; cmake ../ -DCMAKE_BUILD_TYPE=Debug
$(MAKE) -C dbuild
test:
mkdir -p build/tests;
cd build; ../tests/regression.tcl mt=0
clean:
rm -rf dist;
$(MAKE) -C build clean
rm -rf build
install:
cd build; make install
test_install:
cd tests/TestInstall; rm -rf build; mkdir -p build; cd build; cmake ../ -DINSTALL_DIR=/usr/local; make ; ./test_hellosureworld --version
uninstall:
rm -f /usr/local/bin/surelog
rm -rf /usr/local/lib/surelog
rm -rf /usr/local/include/surelog