summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpranomostro <pranomestro@gmail.com>2017-05-11 09:25:40 +0200
committerpranomostro <pranomestro@gmail.com>2017-05-11 09:25:40 +0200
commit84df297f7e67793b70982401278e61d1e6c470fa (patch)
tree098a9b483dc74a3b0da4074794090e047a300d32
parentf32444d59910bf1bb8bb2b72dfc224411745c554 (diff)
Remove recursive make call, simplify the building process.
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
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: