Skip to content
Snippets Groups Projects
Makefile 849 B
Newer Older
  • Learn to ignore specific revisions
  • 	@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
    
    	@cmake --build build
    
    	@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
    
    release:
    	@cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
    	@cmake --build build
    
    
    linux-appimage:
    	@./.ci/linux/deploy.sh
    
    
    linux-install:
    	cp -f nheko*.AppImage ~/.local/bin
    
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    macos-app: release-debug
    	@./.ci/macos/deploy.sh
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    macos-app-install:
    	cp -Rf build/nheko.app /Applications
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    lint:
    
    	@./.ci/format.sh
    
    image:
    	docker build -t nheko-app-image .
    
    docker-app-image: image
    	docker run \
    		-e CXX=g++-7 \
    		-e CC=gcc-7 \
    		-v `pwd`:/build nheko-app-image make release
    	docker run \
    		--privileged \
    		-v `pwd`:/build nheko-app-image make linux-appimage
    
    
    clean:
    
    	git clean -xdf
    	git submodule foreach git clean -xdf
    
    .PHONY: build app dmg