From 84df297f7e67793b70982401278e61d1e6c470fa Mon Sep 17 00:00:00 2001 From: pranomostro Date: Thu, 11 May 2017 09:25:40 +0200 Subject: Remove recursive make call, simplify the building process. --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 730d0ef..e279213 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,9 @@ OBJ = $(SRC:.c=.o) $(LIB) BIN = $(SRC:.c=) MAN = $(SRC:.c=.1) -all: binlib - -binlib: util.a - $(MAKE) bin - -bin: $(BIN) +all: $(BIN) +$(BIN): $(OBJ) util.a $(OBJ): $(HDR) config.mk config.h: -- cgit v1.2.3