From 1cbee0686d150d341423e04f615bad8da8063dea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Tue, 3 Jul 2018 10:35:44 +0200 Subject: [PATCH] Fix Makefile to avoid rebuild if bin/ameba exists --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eebac9c7..ec33d529 100644 --- a/Makefile +++ b/Makefile @@ -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