mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-12-04 17:51:13 +00:00
Rename old Makfile to compatible with cmake
This commit is contained in:
parent
2bd6c741ae
commit
ef6794bec3
15
Makefile.cmake
Normal file
15
Makefile.cmake
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
all:
|
||||||
|
@echo "Run 'make install' for installation."
|
||||||
|
@echo "Run 'make uninstall' for uninstallation."
|
||||||
|
mkdir -p build
|
||||||
|
cd build && cmake -G "CodeBlocks - Unix Makefiles" ../src
|
||||||
|
|
||||||
|
install:
|
||||||
|
@echo "Installing"
|
||||||
|
cd build && cmake -DCMAKE_INSTALL_PREFIX=$(DESTDIR) -G "CodeBlocks - Unix Makefiles" ../src
|
||||||
|
$(MAKE) -C src/scripts install
|
||||||
|
$(MAKE) -C build install_build
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(MAKE) -C src/scripts uninstall
|
||||||
|
$(MAKE) -C build uninstall_build
|
Loading…
Reference in New Issue
Block a user