Give pitch_detector the IRAMming it deserves.
[kugel-rb.git] / tools / makesrc.inc
blob846df8cb9e03900e1c1a9483c178e7af5353fead
1 # -*- Makefile -*-
3 # return the list of sources to build in the SRC 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 SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
13 $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - 2>/dev/null \
14 | grep -v "^\#")