2019-04-14 17:01:15 +00:00
|
|
|
all:
|
|
|
|
@echo "Run 'make install' for installation."
|
|
|
|
@echo "Run 'make uninstall' for uninstallation."
|
2019-04-16 20:51:07 +00:00
|
|
|
mkdir -p build
|
|
|
|
cd build && cmake -G "CodeBlocks - Unix Makefiles" ../src
|
2019-04-14 17:01:15 +00:00
|
|
|
|
|
|
|
install:
|
2019-04-24 07:17:46 +00:00
|
|
|
cd build && cmake -DCMAKE_INSTALL_PREFIX=$(DESTDIR) -G "CodeBlocks - Unix Makefiles" ../src
|
2019-04-14 17:01:15 +00:00
|
|
|
$(MAKE) -C src/scripts install
|
2019-04-16 20:51:07 +00:00
|
|
|
$(MAKE) -C build install_build
|
2019-04-14 17:01:15 +00:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
$(MAKE) -C src/scripts uninstall
|
2019-04-16 20:51:07 +00:00
|
|
|
$(MAKE) -C build uninstall_build
|