Skip to content

Instantly share code, notes, and snippets.

View nikitawootten-nist's full-sized avatar
✈️
This account is no longer active

nikitawootten-nist

✈️
This account is no longer active
View GitHub Profile
@AdamBrouwersHarries
AdamBrouwersHarries / Example wildcard makefile
Created January 6, 2014 18:18
An example makefile using wildcards and pattern substitution to compile a load of files of the same type
CPP_FILES = $(wildcard *.markdown)
OBJ_FILES = $(patsubst %.markdown,%.pdf,$(CPP_FILES))
%.pdf: %.markdown
pandoc -V geometry:margin=1in -S -o $@ $(patsubst %.pdf,%.markdown,$@)
all: $(OBJ_FILES)
clean: