makedefs: add enum support when generating pm.h
Only changes pm.h content if ENUM_PM is defined when compiling util/makedefs.c While NON_PM and LOW_PM could be included, it would require for the makedefs.c compile, as well as an around their macro definitions in permonst.h so for now those particular lines are commented out in makedefs.c
This commit is contained in:
@@ -924,7 +924,7 @@ $(O)makedefs.o: $(CONFIG_H) $(INCL)\monattk.h $(INCL)\monflag.h $(INCL)\objcla
|
||||
$(U)makedefs.c
|
||||
@if not exist $(OBJ)\*.* echo creating directory $(OBJ:\=/)
|
||||
@if not exist $(OBJ)\*.* mkdir $(OBJ)
|
||||
@$(cc) $(cflagsBuild) -Fo$@ $(U)makedefs.c
|
||||
@$(cc) -DENUM_PM $(cflagsBuild) -Fo$@ $(U)makedefs.c
|
||||
|
||||
#
|
||||
# date.h should be remade every time any of the source or include
|
||||
|
||||
Reference in New Issue
Block a user