21 lines
343 B
Makefile
21 lines
343 B
Makefile
PDF += $(wildcard *.asm)
|
|
PDF += $(wildcard *.glsl)
|
|
PDF += $(wildcard *.c)
|
|
PDF += $(wildcard *.cpp)
|
|
|
|
PDF_OBJ := $(PDF:%=output/%.pdf)
|
|
|
|
all: $(PDF_OBJ)
|
|
|
|
output/%.asm.pdf: %.asm
|
|
sh verbatim.sh $< haskell
|
|
|
|
output/%.glsl.pdf: %.glsl
|
|
sh verbatim.sh $< glsl
|
|
|
|
output/%.c.pdf: %.c
|
|
sh verbatim.sh $< c
|
|
|
|
output/%.cpp.pdf: %.cpp
|
|
sh verbatim.sh $< cpp
|