Files
FFT_and_FP_math/C/Makefile

15 lines
199 B
Makefile

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 -f $(TARGET) $(OBJS)