Changeset 18 in Main for trunk/Module
- Timestamp:
- Sep 14, 2024, 9:42:40 AM (2 months ago)
- Location:
- trunk/Module
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Module/Makefile
r17 r18 9 9 10 10 .o.so: 11 $(CC) $(LDFLAGS) -shared -o $@ $< $(LIBS)11 $(CC) $(LDFLAGS) -shared -o $@ $< ../Common/common.a $(LIBS) 12 12 13 13 .c.o: -
trunk/Module/mod_example.c
r17 r18 5 5 int mod_init(struct tw_config* config, struct tw_tool* tools) { 6 6 tools->log("Example", "This is an example module"); 7 tools->add_version("Example/0.0"); 7 8 return 0; 8 9 }
Note:
See TracChangeset
for help on using the changeset viewer.