Regex to select all .c files except ones with a certain prefix

I have what should be a real simple regex question. I'm making a makefile and need one target to compile all the source in my directory except one or two files that have a named prefix of ttem_endian_port. What regex can I use to make this as simple as possible?

I was thinking something like [^ttem_endian_port*]*.c but that doesn't seem to work.

12
задан cdietschrun 16 April 2011 в 16:00
поделиться