- add crc to build system

- add fir to build system


git-svn-id: http://moon:8086/svn/software/trunk/libsrc/fir@947 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-13 05:45:02 +00:00
parent 90d348e868
commit 5c1f36fde0
2 changed files with 11 additions and 19 deletions
+6 -19
View File
@@ -1,23 +1,10 @@
include ../config.mk
include ./config.mk
SRCDIR := .
OBJS := fir2.o
NAME := Fir
LIB := $(BUILD_DIR)/libfir.a
GCC_SRCS := $(LIBSRC_PATH)/fir/fir2.c
INCLUDES := . ..
DEFINES := fir_float_t=float
all : $(LIB)
$(LIB) : $(OBJS)
$(AR) -r $(LIB) $(OBJS)
clean:
rm -f *.o
rm -f *.a
.PHONY: clean
include ../compile.mk
INCLUDES += -I $(LIBSRC_PATH)
DEFINES += -Dradio_float_t=float -Dfir_float_t=float
include $(MAKE_HOME)/compile.mk
+5
View File
@@ -0,0 +1,5 @@
MAKE_HOME ?= /home/jens/work/software/make
CONFIG ?= debug
BUILD_DIR ?= ./build/${CONFIG}
LIBSRC_PATH ?= $(realpath ../../libsrc)