Skip to content

Commit

Permalink
build: add Makefile with CMake commands
Browse files Browse the repository at this point in the history
  • Loading branch information
csirianni committed Oct 9, 2023
1 parent 24161a0 commit 25e6d67
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions backend/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BUILD_DIR = build

all: build

# the -p flag in mkdir ensures nested directories can be created
build:
mkdir -p $(BUILD_DIR)
cd $(BUILD_DIR) && cmake ..
cd $(BUILD_DIR) && cmake --build .

clean:
rm -rf $(BUILD_DIR)

0 comments on commit 25e6d67

Please sign in to comment.