summaryrefslogtreecommitdiff
path: root/wctdm24xxp/Makefile
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-07-20 19:14:09 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-07-20 19:14:09 +0000
commit3c9433e21c91042d90622c37ae45fa55ed2e563a (patch)
tree9ea6272aa8389e5ddd30ab5d6c2521cf4f1860ba /wctdm24xxp/Makefile
parent54047ea02884d1029d5f3dfecfe1c43791e677c8 (diff)
Merged revisions 2762 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2762 | mattf | 2007-07-20 13:54:20 -0500 (Fri, 20 Jul 2007) | 9 lines Merged revisions 2761 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2761 | mattf | 2007-07-20 11:19:47 -0500 (Fri, 20 Jul 2007) | 1 line New product support, new echo canceler and new boards ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2763 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/Makefile')
-rw-r--r--wctdm24xxp/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/wctdm24xxp/Makefile b/wctdm24xxp/Makefile
new file mode 100644
index 0000000..9927928
--- /dev/null
+++ b/wctdm24xxp/Makefile
@@ -0,0 +1,22 @@
+ifneq ($(KBUILD_EXTMOD),)
+
+include $(src)/Makefile.kernel26
+
+else
+
+all: wctdm24xxp.o
+
+%.o: %.c
+ $(CC) $(KFLAGS) -o $@ -c $<
+
+base.o: ../zaptel.h GpakCust.h ../wctdm.h
+
+GpakCust.o: GpakCust.h
+
+wctdm24xxp.o: base.o GpakCust.o GpakApi.o
+ $(LD) -r -o $@ $^
+
+clean:
+ rm -f *.o
+
+endif