From: Robert Timm Date: Fri, 7 Apr 2017 22:43:49 +0000 (+0200) Subject: changes make target dependencies X-Git-Url: https://git.owens.tech/assets/static/git-logo.png/assets/static/git-logo.png/git?a=commitdiff_plain;h=846522be17881266a108ee8a897ca48ed2c1a8e1;p=vimb.git changes make target dependencies technically, the vimb binary does not depend on webext, but the all target should build vimb and webext --- 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