summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgonzo <gonzo@toniatuh.com>2023-06-10 16:11:48 +0200
committergonzo <gonzo@toniatuh.com>2023-06-10 16:11:48 +0200
commit000e28a041f1e12a1e682df0d7fabd3cf4da4dd7 (patch)
treeacbf13f940b46fbf2ba0f8e32e9b63d4972b7292
parent2b913b225dd3fdb5904e25eb6f0f25460ff58daa (diff)
downloadloan_calc-master.tar.gz
added lib target to makefileHEADmaster
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b6a6f2b..b883d7f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ LDEPS=bullet_loan.c straight_line_loan.c mortgage_loan.c loans.c read_functions.
LHEAD=contract.h loans.h
LOBJ=${LDEPS:.c=.o}
-.PHONY: all clean release $(TARGET) $(LIB)
+.PHONY: all clean release lib $(TARGET) $(LIB)
all: $(LIB) $(TARGET)
@@ -43,6 +43,8 @@ $(TARGET): $(OBJ) $(LIB)
$(LIB): $(LOBJ)
$(AR) $(LIB) $(LOBJ)
+lib: $(LIB)
+
release:
@make -DRELEASE