Increase MAXTHREADS
[Rockbox.git] / tools / makesubdirs.inc
blobb233430f78f6b6f093564d5f723839974d626897
1 # -*- Makefile -*-
3 # return the list of extra sub-directories to build in the SUBDIRS variable
5 # This uses the native 'gcc' compiler and not $(CC) since we use the -include
6 # option and older gcc compiler doesn't have that. We use one such older
7 # compiler for the win32 cross-compiles on Linux.
9 # The weird grep -v thing in here is due to Apple's stupidities and is needed
10 # to make this do right when used on Mac OS X.
12 SUBDIRS := $(shell cat SUBDIRS | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
13 $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - | \
14 grep -v "^\#")