summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgonzo <gonzo@toniatuh.com>2023-06-10 14:09:31 +0200
committergonzo <gonzo@toniatuh.com>2023-06-10 14:09:31 +0200
commita267566bf46ae3efaa7ae39f48eac99261d0407b (patch)
tree0f538841d3d2d08a523a642de6f13452b8e14345
parent58c143df0cd45ca85c30ef928202b15785a3bef4 (diff)
downloadloan_calc-a267566bf46ae3efaa7ae39f48eac99261d0407b.tar.gz
release target
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6dd27e2..b6a6f2b 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 $(TARGET) $(LIB)
+.PHONY: all clean release $(TARGET) $(LIB)
all: $(LIB) $(TARGET)
@@ -43,5 +43,8 @@ $(TARGET): $(OBJ) $(LIB)
$(LIB): $(LOBJ)
$(AR) $(LIB) $(LOBJ)
+release:
+ @make -DRELEASE
+
clean:
rm -f *.o *~ *.core $(OBJ) $(TARGET)