mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-04 04:17:46 +00:00
add comments for diet.h (auto-gen from Makefile)
This commit is contained in:
parent
1419d747eb
commit
a4f37e075a
6
Makefile
6
Makefile
@ -148,14 +148,16 @@ $(LIBOBJ): diet
|
||||
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user