Excluding files/directories from being built (with wildcards?) [message #176185] |
Thu, 07 September 2006 01:44 |
Eclipse User |
|
|
|
Originally posted by: blaker.ieee.org
I read in the CDT FAQ that in order to have the file "devices/devices.c"
excluded form the built you could:
> add a file named "makefile.defs" to the project ROOT and added the
> following lines to it:
> OBJS := $(OBJS:devices/devices.o=)
I was wondering if it was possible to exclude an entire directory. I tried
experimenting with wildcards and it didn't have any luck. For example:
OBJS := $(OBJS:devices/*.o=) didn't exclude every object in the directory
devices.
I found that in order to exclude more then one file you could add lines:
OBJS := $(OBJS:devices/file1.o=)
OBJS := $(OBJS:devices/file2.o=)
Note: The compiler plugin i use is for CDT 3.0.2
Thanks for any suggestions.
~blake
|
|
|
Powered by
FUDForum. Page generated in 0.02113 seconds