Skip to content
Snippets Groups Projects
Makefile 359 B
Newer Older
  • Learn to ignore specific revisions
  • Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    SRC := $(shell find include src -type f -type f \( -iname "*.cc" -o -iname "*.h" \))
    
    
    	@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
    	@cmake --build build
    
    	@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
    	@cmake --build build
    
    run:
    	@./build/nheko
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    lint:
    	@clang-format -i $(SRC)
    
    
    clean:
    	rm -rf build
    
    .PHONY: build