Move the embedded stuff into architecture-specific folders

This commit is contained in:
cnlohr 2015-04-03 14:10:25 -04:00
parent 09be0f349b
commit f2a1086c97
11 changed files with 479 additions and 23 deletions

13
embeddedx86/Makefile Normal file
View file

@ -0,0 +1,13 @@
all : embeddedcc
CFLAGS:=-Ofast -DCCEMBEDDED -I.. -flto -m32
LDFLAGS:=-ffunction-sections -Wl,--gc-sections -fno-asynchronous-unwind-tables -Wl,--strip-all
embeddedcc : ../embeddednf.c ../DFT32.c embeddedcc.c
gcc -o $@ $^ $(CFLAGS) $(LDFLAGS)
runembedded : embeddedcc
parec --format=u8 --rate=8000 --channels=1 --device=alsa_output.pci-0000_00_1b.0.analog-stereo.monitor | ./embeddedcc
clean :
rm -rf embeddedcc *~