Skip to content

Commit

Permalink
Add Makefile that just runs Bazel.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrail committed Sep 11, 2019
1 parent bf345cb commit 2a603ea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
Makefile
apib
apibmon
config.log
config.status
src/config.h
autom4te.cache
*.o
bazel-*
.vscode
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This makefile just reminds us what tools to build!

all: apib apibmon
.PHONY: apib apibmon test

apib:
bazel build -c opt //src:apib
cp ./bazel-bin/src/apib .
chmod u+w ./apib

apibmon:
bazel build -c opt //src:apibmon
cp ./bazel-bin/src/apibmon .
chmod u+w ./apibmon

test:
bazel test ...

0 comments on commit 2a603ea

Please sign in to comment.