diff options
Diffstat (limited to 'drivers/dahdi/wctc4xxp/Makefile')
-rw-r--r-- | drivers/dahdi/wctc4xxp/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/dahdi/wctc4xxp/Makefile b/drivers/dahdi/wctc4xxp/Makefile new file mode 100644 index 0000000..725abc4 --- /dev/null +++ b/drivers/dahdi/wctc4xxp/Makefile @@ -0,0 +1,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 ../zaptel.h + $(CC) -o $@ $< $(CFLAGS) + +clean: + rm -rf codec_test +endif |