diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-07 19:50:16 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-07 19:50:16 -0400 |
commit | 880762a9b7c24809cfcc20db54fc11eafe161dec (patch) | |
tree | 05c53cbd92ea6ccafd121030ec111bea54b8e5c9 | |
parent | 9c891a80c4dc3a15a2d41bfb247a200e645e5f67 (diff) | |
download | runes-880762a9b7c24809cfcc20db54fc11eafe161dec.tar.gz runes-880762a9b7c24809cfcc20db54fc11eafe161dec.zip |
add a `make release` target
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |