sandboxed-api/oss-internship-2020/pffft/Makefile

15 lines
233 B
Makefile
Raw Normal View History

2020-08-17 19:20:56 +08:00
CXXFLAGS ?= -std=c++17
pffft_main: test_pffft.o libpffft.a
$(CXX) -o $@ $(CXXFLAGS) $(LDFLAGS) $^
libpffft.a: pffft.o fftpack.o
ar rcs $@ $^
pffft.c: pffft.h
fftpack.c: fftpack.h
.PHONY: clean
clean:
rm -f *.o *.a pffft_main