fix up the app_rpt.o target. oops! (Thanks to Denis Smirnov on the -dev list)
authorRussell Bryant <russell@russellbryant.com>
Sun, 30 Apr 2006 14:12:14 +0000 (14:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 30 Apr 2006 14:12:14 +0000 (14:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23672 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/Makefile

index 53a883d..7b79281 100644 (file)
@@ -41,7 +41,7 @@ app_rpt.so: app_rpt.o
        $(CC) $(SOLINK) -o $@ $< $(ZAPTEL_LIB)
 
 app_rpt.o: app_rpt.c
-       $(CC) $(SOLINK) -o $@ $< $(ZAPTEL_INCLUDE)
+       $(CC) -c -o $@ $(CFLAGS) $(ZAPTEL_INCLUDE) $<
 
 install: all
        for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done