mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-10 17:43:59 +00:00
fix bsd make
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10947 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e8249d73d5
commit
afcc875edd
@ -1,5 +1,4 @@
|
|||||||
PWD=$(shell pwd)
|
INCS=-Isrc/include
|
||||||
INCS=-I$(PWD)/src/include
|
|
||||||
LIBEDIT_DIR=../../libs/libedit
|
LIBEDIT_DIR=../../libs/libedit
|
||||||
DEBUG=-g -ggdb
|
DEBUG=-g -ggdb
|
||||||
PICKY=-O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
|
PICKY=-O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
|
||||||
@ -17,6 +16,10 @@ $(MYLIB): $(OBJS) $(HEADERS) $(SRC)
|
|||||||
ar rcs $(MYLIB) $(OBJS)
|
ar rcs $(MYLIB) $(OBJS)
|
||||||
ranlib $(MYLIB)
|
ranlib $(MYLIB)
|
||||||
|
|
||||||
|
$(OBJS): $(SRC)
|
||||||
|
$(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
|
||||||
testserver: $(MYLIB) testserver.c
|
testserver: $(MYLIB) testserver.c
|
||||||
$(CC) $(CC_CFLAGS) $(CFLAGS) testserver.c -o testserver $(LDFLAGS) $(LIBS)
|
$(CC) $(CC_CFLAGS) $(CFLAGS) testserver.c -o testserver $(LDFLAGS) $(LIBS)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user