summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)