Add actual example programs from prior examples, start documentation updates.

This commit is contained in:
Michael R Sweet
2024-12-19 16:43:21 -05:00
parent b872df5a1e
commit 5bc7ebee2c
7 changed files with 916 additions and 213 deletions

View File

@@ -20,7 +20,9 @@ LIBS = -L.. -lpdfio -lz
# Targets
TARGETS = \
code128 \
md2pdf
image2pdf \
md2pdf \
pdfioinfo
# Make everything
@@ -37,10 +39,20 @@ code128: code128.c
$(CC) $(CFLAGS) -o $@ code128.c $(LIBS)
# image2pdf
image2pdf: image2pdf.c
$(CC) $(CFLAGS) -o $@ image2pdf.c $(LIBS)
# md2pdf
md2pdf: md2pdf.c mmd.c mmd.h
$(CC) $(CFLAGS) -o $@ md2pdf.c mmd.c $(LIBS)
# pdfioinfo
pdfioinfo: pdfioinfo.c
$(CC) $(CFLAGS) -o $@ pdfioinfo.c $(LIBS)
# Common dependencies...
$(TARGETS): Makefile ../pdfio.h ../pdfio-content.h