piece-chain

Research & implementation of a Piece Chain
git clone git://src.gearsix.net/piece-chain.git
Log | Files | Refs | Atom | README

commit 91ebb9e95268e8a39d3bb7b6643c1e53420d7fa3
parent 89b16fb6fa73c0d2b5b014258213c46bc6fd7b88
Author: gearsix <gearsix@tuta.io>
Date:   Thu, 14 Jul 2022 01:26:50 +0100

added 'static' target to Makefile

Diffstat:
MMakefile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -5,5 +5,8 @@ OPTS := -g -Wall -Wpedantic -std=c89 all: ${CC} $(OPTS) $(SRC) main.c -o $(OUT) +static: + ${CC} $(OPTS) -c $(SRC) -o $(OUT).o + ar rcs lib$(OUT).a $(OUT).o test: ${CC} $(OPTS) $(SRC) test*c -o $(OUT)-test