]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 6 Jun 2007 23:05:36 +0000 (23:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 6 Jun 2007 23:05:36 +0000 (23:05 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@224 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/openzap/Makefile

index 819e96c0f5ed64a82a77a7e9eadccc7f5f0519a9..a8296a3334ba98c86b9f3c8bed73290a1e22f6e1 100644 (file)
@@ -62,6 +62,7 @@ $(SRC)/isdn/Q932mes.o \
 $(SRC)/zap_zt.o \
 $(SRC)/zap_wanpipe.o
 
+#SRCS=$(shell echo $(OBJS) | sed "s/\.o/\.c/g")
 
 HEADERS= $(SRC)/include/fsk.h \
 $(SRC)/include/g711.h \
@@ -102,8 +103,6 @@ TMP=-I$(LIBPRI) -I$(SRC)/include -I./src -w
 
 include general.makefile
 
-$(OBJS): $(HEADERS)
-
 all: $(MYLIB)
 
 $(MYLIB): $(OBJS) $(HEADERS)
@@ -140,7 +139,7 @@ priserver: $(MYLIB) $(SRC)/priserver.o $(SRC)/sangoma_pri.o $(LIBPRI)/$(LIBPRIA)
 $(SRC)/zap_io.o: $(SRC)/zap_io.c
        $(CC) $(MOD_CFLAGS) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
 
-%.o: %.c 
+%.o: %.c $(HEADERS)
        $(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
 
 dox: