From 846522be17881266a108ee8a897ca48ed2c1a8e1 Mon Sep 17 00:00:00 2001
From: Robert Timm <mail@rtti.de>
Date: Sat, 8 Apr 2017 00:43:49 +0200
Subject: [PATCH] changes make target dependencies

technically, the vimb binary does not depend on webext, but the all
target should build vimb and webext
---
 src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index d9c3d4d..fab3cca 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,12 +5,12 @@ SUBDIRS = webextension
 OBJ     = $(patsubst %.c, %.o, $(wildcard *.c))
 JSFILES = $(wildcard scripts/*.js)
 
-all: vimb
+all: vimb $(SUBDIRS:%=%.subdir-all)
 
 clean: $(SUBDIRS:%=%.subdir-clean)
 	$(RM) vimb *.o scripts/scripts.h
 
-vimb: $(OBJ) webextension.subdir-all
+vimb: $(OBJ)
 	$(CC) $(LDFLAGS) $(OBJ) -o $@
 
 $(OBJ): config.h $(BASEDIR)/config.mk scripts/scripts.h
-- 
2.20.1