Skip to content

Commit

Permalink
fix(makefile): target ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-msp committed Apr 13, 2024
1 parent 48ccf40 commit 2a2ae1e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@ BUILD_MODE = release

BIN = target/$(BUILD_MODE)/$(TARGET)

all: $(TARGET)

.PHONY: clean
clean:
cargo clean
rm -f $(TARGET)

all: $(TARGET)

$(TARGET): $(BIN)
cp $(BIN) $(TARGET)

$(BIN):
cargo build --$(BUILD_MODE)

DAEMON = local.personal.transcription

kick: $(TARGET)
launchctl kickstart -k gui/$(shell id -u)/$(DAEMON)

0 comments on commit 2a2ae1e

Please sign in to comment.