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

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