r500/verbatim/Makefile
2025-11-13 10:56:28 -06:00

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