Update Makefile

This commit is contained in:
vx_clutch
2025-11-11 08:14:08 -05:00
committed by GitHub
parent 1db2803e95
commit fc6a5f9412

View File

@@ -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 $@