aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index edcbfa3..7b2cc28 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,11 @@ MAKEDEPEND = $(CC) $(ALLCFLAGS) -M -MP -MT '$@ $(@:$(BUILD)%.o=$(BUILD).%.d)'
all: $(OUT) $(DOUT) $(COUT) ## Build all of the targets
+release: ## Build optimized binaries
+ $(MAKE) clean
+ $(MAKE) OPT=-O2
+ strip $(OUT) $(DOUT) $(COUT)
+
run: $(OUT) ## Build and run the standalone runes terminal
@./$(OUT)