How to associate a suffix with several filetypes?

Thore Karlsen <sid-m3MN3Z/L/[email protected]> Thu, 06 May 2004 12:54:18 -0500
Newsgroups gmane.comp.tools.aap.user
Organization I've resigned.
Message-ID <[email protected]>
I'm trying to compile resource files in MSVC. It takes .rc files as
input, and the output files normally have the suffix .res.

I've got the following:

:filetype
   suffix res res
:action compile rc
   :sys rc /Fo$target $source
:route rc res
   compile

However, I can't figure out how to tell AAP that .res files are valid
objects, libobjects, and dllobjects, so the linker can use these files
directly.

I could do something like this instead:

:filetype
   suffix res object

But this would result in an .obj file, and might cause a clash with
another .obj file, so I'd like to use the .res suffix.

-- 
Be seeing you.



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3