rnd-20020921-7-src
[rocksndiamonds.git] / Makefile
index 9ba6b4d582f4029568e7e99ad321e421ab91d5f4..a75133cc7f3adbd436a7163d50c883ab40a6b76a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,11 @@ clean:
 # development only stuff                                                      #
 #-----------------------------------------------------------------------------#
 
+auto-conf:
+       ./Scripts/create_element_defs.pl --graphics > src/conf_gfx.h
+       ./Scripts/create_element_defs.pl --sounds   > src/conf_snd.h
+       ./Scripts/create_element_defs.pl --el2gfx   > src/conf_e2g.c
+
 run:
        @$(MAKE_CMD) TARGET=$(DEFAULT_TARGET) && ./rocksndiamonds --verbose