1 2 default: full 3 4 all: full subset 5 6 %.tag: %.doxy 7 doxygen $< 8 9 FULL = \ 10 main.doxy \ 11 math.doxy \ 12 vbo.doxy \ 13 glapi.doxy \ 14 glsl.doxy \ 15 shader.doxy \ 16 swrast.doxy \ 17 swrast_setup.doxy \ 18 tnl.doxy \ 19 tnl_dd.doxy \ 20 gbm.doxy 21 22 full: $(FULL:.doxy=.tag) 23 $(foreach FILE,$(FULL),doxygen $(FILE);) 24 25 SUBSET = \ 26 main.doxy \ 27 math.doxy 28 29 subset: $(SUBSET:.doxy=.tag) 30 $(foreach FILE,$(SUBSET),doxygen $(FILE);) 31 32 clean: 33 -rm -rf $(FULL:.doxy=) $(SUBSET:.doxy=) 34 -rm -rf *.tag 35