blob: 6a48fc961b9f353ab86720258ffb743bebb71201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
ifneq ($(KBUILD_EXTMOD),)
# We only get here on kernels 2.6.0-2.6.9 .
# For newer kernels, Kbuild will be included directly by the kernel
# build system.
include $(src)/Kbuild
else
tests: codec_test
codec_test: codec_test.c ../../include/dahdi/kernel.h ../../include/dahdi/user.h
$(CC) -o $@ $< $(CFLAGS)
clean:
rm -rf codec_test
endif
|