mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
add core wanpipe headers etc and tweak build flags
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@10 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
fcbd79567c
commit
7e3412baf1
6 files changed
+56
-8
No files matched your search
@@ -35,13 +35,20 @@ MYLIB=libopenzap.a
|
||||
|
||||
include general.makefile $(ZAP_MODS)
|
||||
|
||||
all: $(MYLIB)
|
||||
|
||||
$(MYLIB): $(OBJS)
|
||||
ar rcs $(MYLIB) $(OBJS)
|
||||
ranlib $(MYLIB)
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
all: $(MYLIB)
|
||||
zap_wanpipe.o: zap_wanpipe.c
|
||||
$(CC) $(CFLAGS) $(ZAP_CFLAGS) $(WP_CFLAGS) -c $< -o $@
|
||||
|
||||
zap_zt.o: zap_zt.c
|
||||
$(CC) $(CFLAGS) $(ZAP_CFLAGS) $(ZT_CFLAGS) -c $< -o $@
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f *.o $(MYLIB) *~ \#*
|
||||
|
||||
Reference in new issue
Block a user