worksofliam / blog

Blog
28 stars 5 forks source link

Building a makefile dependency generator for RPGLE (part 2) #47

Open worksofliam opened 4 years ago

worksofliam commented 4 years ago

Ok, for the last few months I've been playing with different tools to help generate makefiles for very large ILE RPG applications that make use of lots of LF, PF, PRTF, etc and it is a lot of work. I think the next possible way to help generate these makefiles is to build my own generator.

The generator would work post-source-migration. As in, you would have already moved all the sources to the IFS. The way I am thinking this would work is by actually scanning the source code for references. I want something that is open-source and easy to use.

Here's how each type of source code would get their references

LF/PF

RPGLE

CLLE

DDS (LF/PF/PRTF)