commit 84df297f7e67793b70982401278e61d1e6c470fa
parent f32444d59910bf1bb8bb2b72dfc224411745c554
Author: pranomostro <pranomestro@gmail.com>
Date: Thu, 11 May 2017 09:25:40 +0200
Remove recursive make call, simplify the building process.
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git 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: