6. edit Plug.tmpasm:
put /local/pcb/mod {plg}
put /local/pcb/mod/OBJS [@ $(PLUGDIR)/plg/foo.o $(PLUGDIR)/plg/bar.o @]
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
- /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.