blob: f5e26498c826e1542df39ea2de1867f6f018f457 [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
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 show_diff
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