22 lines
375 B
Makefile
22 lines
375 B
Makefile
PKG:=libfftpack
|
|
|
|
SD:=$(SRCROOT)/$(PKG)
|
|
OD:=$(BLDROOT)/$(PKG)
|
|
|
|
FULL_INCLUDE+= -I$(SD)
|
|
|
|
HDR_$(PKG):=$(SD)/*.h
|
|
LIB_$(PKG):=$(LIBDIR)/libfftpack.a
|
|
OBJ:=fftpack.o bluestein.o ls_fft.o
|
|
OBJ:=$(OBJ:%=$(OD)/%)
|
|
|
|
ODEP:=$(HDR_$(PKG)) $(HDR_c_utils)
|
|
|
|
$(OD)/fftpack.o: $(SD)/fftpack_inc.c
|
|
|
|
$(OBJ): $(ODEP) | $(OD)_mkdir
|
|
$(LIB_$(PKG)): $(OBJ)
|
|
|
|
all_hdr+=$(HDR_$(PKG))
|
|
all_lib+=$(LIB_$(PKG))
|