From 880762a9b7c24809cfcc20db54fc11eafe161dec Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 7 May 2016 19:50:16 -0400 Subject: add a `make release` target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.2.3-54-g00ecf