-default: full\r
-\r
-all: full subset\r
- \r
-full:\r
- doxygen tnl_dd.doxy\r
- doxygen array_cache.doxy\r
- doxygen math.doxy\r
- doxygen swrast.doxy\r
- doxygen swrast_setup.doxy\r
- doxygen tnl.doxy\r
- doxygen core.doxy\r
- echo "Building again, to resolve tags"\r
- doxygen tnl_dd.doxy\r
- doxygen array_cache.doxy\r
- doxygen math.doxy\r
- doxygen swrast.doxy\r
- doxygen swrast_setup.doxy\r
- doxygen tnl.doxy\r
- doxygen core.doxy\r
-\r
-subset:\r
- doxygen core_subset.doxy\r
- doxygen math_subset.doxy\r
- doxygen miniglx.doxy\r
- echo "Building again, to resolve tags"\r
- doxygen core_subset.doxy\r
- doxygen math_subset.doxy\r
- doxygen miniglx.doxy\r
- doxygen radeon_subset.doxy\r
-\r
-clean:\r
- rm -rf \\r
- array_cache \\r
- core \\r
- core_subset \\r
- math \\r
- math_subset \\r
- swrast \\r
- swrast_setup \\r
- tnl_dd \\r
- tnl \\r
- miniglx \\r
- radeon_subset\r
- rm -rf *.tag\r
-\r
+
+default: full
+
+all: full subset
+
+%.tag: %.doxy
+ doxygen $<
+
+FULL = \
+ main.doxy \
+ math.doxy \
+ vbo.doxy \
+ glapi.doxy \
+ glsl.doxy \
+ shader.doxy \
+ swrast.doxy \
+ swrast_setup.doxy \
+ tnl.doxy \
+ tnl_dd.doxy \
+ gbm.doxy
+
+full: $(FULL:.doxy=.tag)
+ $(foreach FILE,$(FULL),doxygen $(FILE);)
+
+SUBSET = \
+ main.doxy \
+ math.doxy
+
+subset: $(SUBSET:.doxy=.tag)
+ $(foreach FILE,$(SUBSET),doxygen $(FILE);)
+
+clean:
+ -rm -rf $(FULL:.doxy=) $(SUBSET:.doxy=)
+ -rm -rf *.tag