Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# this is a simple Makefile meant for developers' convenience
# - it only has the most common build commands we use
# - for any other build command, please use `./build-coatjava.sh`

# convert `make` arg `-j#` -> `mvn` arg `-T#`, if provided
JOBS := $(patsubst -j%,%,$(filter -j%,$(MAKEFLAGS)))
THREADS := $(if $(strip $(JOBS)),-T$(JOBS),)

BUILD := ./build-coatjava.sh

.PHONY: default all clean clara

.DEFAULT_GOAL := default

default:
$(BUILD) $(THREADS)

clean:
$(BUILD) --clean $(THREADS)

clara:
$(BUILD) --clara $(THREADS)

all: clara
Loading