replaced huge 2d twiddle arrays by smaller 1d arrays. Now it uses very low memory
This commit is contained in:
15
C/Makefile
15
C/Makefile
@ -1,5 +1,14 @@
|
||||
all:
|
||||
gcc FP_math.c -o FP_math -lm
|
||||
SRCS := FP_math.c FFT_FP_realisation.c
|
||||
OBJS := $(SRCS:.c=.o)
|
||||
TARGET := FP_math
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
gcc $(OBJS) -o $@ -lm
|
||||
|
||||
%.o: %.c
|
||||
gcc -c $< -o $@
|
||||
|
||||
clean:
|
||||
-rm FP_math
|
||||
-rm -f $(TARGET) $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user