-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save work on markdown formatting example code.
- Loading branch information
1 parent
7a45adb
commit 5a4afad
Showing
11 changed files
with
3,105 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# | ||
# Makefile for PDFio examples. | ||
# | ||
# Copyright © 2024 by Michael R Sweet. | ||
# | ||
# Licensed under Apache License v2.0. See the file "LICENSE" for more | ||
# information. | ||
# | ||
|
||
# POSIX makefile | ||
.POSIX: | ||
|
||
|
||
# Common options | ||
CFLAGS = -g $(CPPFLAGS) | ||
CPPFLAGS = -I.. | ||
LIBS = -L.. -lpdfio -lz | ||
|
||
|
||
# Targets | ||
TARGETS = \ | ||
code128 \ | ||
md2pdf | ||
|
||
|
||
# Make everything | ||
all: $(TARGETS) | ||
|
||
|
||
# Clean everything | ||
clean: | ||
rm -f $(TARGETS) | ||
|
||
|
||
# code128 | ||
code128: code128.c | ||
$(CC) $(CFLAGS) -o $@ code128.c $(LIBS) | ||
|
||
|
||
# md2pdf | ||
md2pdf: md2pdf.c mmd.c mmd.h | ||
$(CC) $(CFLAGS) -o $@ md2pdf.c mmd.c $(LIBS) | ||
|
||
|
||
# Common dependencies... | ||
$(TARGETS): Makefile ../pdfio.h ../pdfio-content.h |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.