Makefile 468 Bytes
# Makefile for fft project

BIN=fft

TABLE_SIZE?=10
BLOCKSIZES?=1,2,4,8,16,30

# C sources
SOURCES=fft-run.c
HEADERS=tables/fft_table2_$(TABLE_SIZE)_data.h ../common_sys_header.inc

CFLAGS=-DNOHWCONF

# libraries in required order (compiled in the order)
LIBS=c m c bcc built


#tables/fft_table2_$(TABLE_SIZE)_data.h: gen_table_2.sh
#	mkdir -p tables
#	echo FFT_TABLE: $@ $<
#	$(shell -c "env TABLE_SIZE=$(TABLE_SIZE) ./$<" >$@.tmp || rm -f $@.tmp)
#	mv -f $@.tmp $@