Added release build targets, because bored

This commit is contained in:
2022-11-16 22:05:47 +00:00
parent 7bf18a744c
commit 0b57f7efe7
3 changed files with 24 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ library: $(OBJ)
static: $(OBJ)
ar crs ../$(TOY_OUTDIR)/lib$(OUTNAME).a $(OBJ)
library-release: $(OBJ) library
strip $(OUT)
static-release: $(OBJ) static
strip -d ../$(TOY_OUTDIR)/lib$(OUTNAME).a
$(OBJ): | $(ODIR)
$(ODIR):