- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anybody know a clever way to create single object file from multiple .for (source) files (other than creating (stacking) one large file from all of the .for files)??
Thanks
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Usually object libraries are used, where the separate object files are created and stored in the single library file. Anyhow you can also do something like:
df /compile /object:single.obj part1.for part2.for
to combine into one object file.
James
df /compile /object:single.obj part1.for part2.for
to combine into one object file.
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're in the DevStudio environment, what I usually suggest is creating a source file which looks like this:
and then create an alternate project which has just this file in it. When you build this, you are concatenating the sources implicitly.
Steve
include 'file1.for' include 'file2.for' ...
and then create an alternate project which has just this file in it. When you build this, you are concatenating the sources implicitly.
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page