summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-06 20:31:25 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-06 20:31:25 +0000
commitea5dc8212bcd750dbe83e659ab15a6f49c008fbb (patch)
tree6f2851b008182cf1249a3728ba036db0ffb55adf /Makefile
parent1e3499bf665e358e7cee69f48482e0728b2b95a5 (diff)
Use host compiler to build gendigits
Issue 10255, initial patch by mirabilos, modified by me to work with 1.4. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2824 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a06b926..f0cbfdf 100644
--- a/Makefile
+++ b/Makefile
@@ -298,8 +298,8 @@ radfw.h: pciradio.rbt makefw
makefw: makefw.c
$(HOSTCC) -o $@ $^
-gendigits: LDLIBS+=-lm
-gendigits: CFLAGS=
+gendigits: gendigits.c
+ $(HOSTCC) -o $@ $^ -lm
prereq: config.status tones.h tor2fw.h radfw.h version.h