fix bsd make

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10947 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-26 17:00:51 +00:00
parent e8249d73d5
commit afcc875edd

View File

@ -1,5 +1,4 @@
PWD=$(shell pwd)
INCS=-I$(PWD)/src/include
INCS=-Isrc/include
LIBEDIT_DIR=../../libs/libedit
DEBUG=-g -ggdb
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)
ranlib $(MYLIB)
$(OBJS): $(SRC)
$(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@
testserver: $(MYLIB) testserver.c
$(CC) $(CC_CFLAGS) $(CFLAGS) testserver.c -o testserver $(LDFLAGS) $(LIBS)