Index: trunk/doc-rnd/hacking/plugin_core_simple.html
===================================================================
--- trunk/doc-rnd/hacking/plugin_core_simple.html (revision 2339)
+++ trunk/doc-rnd/hacking/plugin_core_simple.html (revision 2340)
@@ -24,9 +24,8 @@
put /local/pcb/mod/CONF {$(PLUGDIR)/plg/foo_conf.h}
put /local/pcb/mod/YACC [@ $(PLUGDIR)/plg/bary @]
put /local/pcb/mod/LEX [@ $(PLUGDIR)/plg/barl @]
+
-
-
- /local/pcb/mod: the name of the module we are compiling
- /local/pcb/mod/OBJS: a space separated list of object files to compile
@@ -33,6 +32,7 @@
- /local/pcb/mod/CONF: optional: the name of the conf struct header - if the plugin doesn't have runtime configuration settings, remove this line
- /local/pcb/mod/YACC: optional: if you have files for yacc-processing, list them without the .y suffix here (space separated)
- /local/pcb/mod/LEX: optional: if you have files for lex-processing, list them without the .l suffix here (space separated)
+
- Leave the switch part on the bottom intact.
7. create your C sources and headers in src_plugins/plg/
8. edit scconfig/plugins.h: copy an existing line and edit it: