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
Saransh-cpp committed Dec 20, 2024
1 parent 805cf1a commit 74ce187
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ch00git/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pdf
8 changes: 8 additions & 0 deletions ch00git/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 74ce187

Please sign in to comment.