Skip to content

Commit

Permalink
Add a makefile and ignore generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancelot the Brave committed Oct 11, 2024
1 parent be91b4d commit 12bfc9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pdf
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

MDS=$(wildcard *.md)
PDFS=$(MDS:.md=.pdf)

default: $(PDFS)

%.pdf: %.md
pandoc $< -o $@

0 comments on commit 12bfc9f

Please sign in to comment.