commit fc6a5f9412db428c506b7a46e75293ee1e08d737
parent 1db2803e95d727d81c1307853c1b3d289ab9cb54
Author: vx_clutch <[email protected]>
Date: Tue, 11 Nov 2025 08:14:08 -0500
Update Makefile
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -13,6 +13,7 @@ endif
export E Q
PROGRAM = yait
+TARBALL = $(PROGRAM).tar
SRC = $(wildcard *.c)
OBJ = $(SRC:.c=.o)
HDR = $(wildcard *.h)
@@ -37,6 +38,9 @@ clean:
install: $(PROGRAM)
cp $(PROGRAM) ${BINDIR}
+release: $(PROGRAM)
+ tar cvf $(TARBALL) $(SRC) $(HDR) Makefile README
+
.c.o:
$(E) " CC " $@
$(Q) $(CC) $(CFLAGS) $(DEFINES) -c $< -o $@