add comments for diet.h (auto-gen from Makefile)
diff --git a/Makefile b/Makefile
index f443c46..5dfb96c 100644
--- a/Makefile
+++ b/Makefile
@@ -148,14 +148,16 @@
# generate include/diet.h
diet:
- @echo "#ifndef CAPSTONE_DIET_H" > include/diet.h
+ @echo "// File auto-generated by Makefile for Capstone framework. DO NOT MODIFY!" > include/diet.h
+ @echo "#ifndef CAPSTONE_DIET_H" >> include/diet.h
@echo "#define CAPSTONE_DIET_H" >> include/diet.h
@echo "" >> include/diet.h
- @echo "// File auto-generated by Makefile for Capstone framework. DO NOT MODIFY!" >> include/diet.h
@echo "" >> include/diet.h
ifneq (,$(findstring yes,$(CAPSTONE_DIET)))
+ @echo "// Capstone is in DIET mode" >> include/diet.h
@echo "#define CAPSTONE_DIET" >> include/diet.h
else
+ @echo "// Capstone is in standard mode (NOT diet)" >> include/diet.h
@echo "#undef CAPSTONE_DIET" >> include/diet.h
endif
@echo "" >> include/diet.h