blob: e269cb203035643ec7ebf174e282be2b5f4623df (
plain) (
tree)
|
|
TYPE ?= Debug
BDIR := BUILD/$(TYPE)
calc: config
cmake --build $(BDIR) --target calc
config: CMakeLists.txt
cmake -B $(BDIR) -DCMAKE_BUILD_TYPE=$(TYPE) .
run: calc
$(BDIR)/calc
clean:
$(RM) -r BUILD
|