Fix Makefile to avoid rebuild if bin/ameba exists

This commit is contained in:
Johannes Müller 2018-07-03 10:35:44 +02:00 committed by V. Elenhaupt
parent dbac46b68a
commit 1cbee0686d
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ SHARDS_BIN ?= $(shell which shards)
PREFIX ?= /usr/local
SHARD_BIN ?= ../../bin
build:
build: bin/ameba
bin/ameba:
$(SHARDS_BIN) build $(CRFLAGS)
clean:
rm -f ./bin/ameba ./bin/ameba.dwarf